We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
join
resolve
path
1 parent 5b4baea commit 30b76cfCopy full SHA for 30b76cf
src/corePlugins.js
@@ -1,5 +1,5 @@
1
import fs from 'fs'
2
-import path from 'path'
+import * as path from 'path'
3
import postcss from 'postcss'
4
import createUtilityPlugin from './util/createUtilityPlugin'
5
import buildMediaQuery from './util/buildMediaQuery'
@@ -365,7 +365,7 @@ export let variantPlugins = {
365
export let corePlugins = {
366
preflight: ({ addBase }) => {
367
let preflightStyles = postcss.parse(
368
- fs.readFileSync(path.resolve(__dirname, 'css/preflight.css'), 'utf8')
+ fs.readFileSync(path.join(__dirname, './css/preflight.css'), 'utf8')
369
)
370
371
addBase([
0 commit comments