Skip to content

Commit b38f131

Browse files
committed
Fix PostCSS include path
1 parent 8d98afd commit b38f131

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

postcss.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
const path = require('path')
2+
13
module.exports = {
24
parser: 'postcss-scss',
35
map: {
@@ -6,7 +8,7 @@ module.exports = {
68
},
79
plugins: {
810
'postcss-node-sass': {
9-
includePaths: ['node_modules'],
11+
includePaths: [path.join(__dirname, 'node_modules')],
1012
outputStyle: 'compressed'
1113
},
1214
'autoprefixer': {}

0 commit comments

Comments
 (0)