Skip to content

Commit 952bc52

Browse files
alencarlucasdavimacedo
authored andcommitted
fix: Update base config to work with sass-loader 8.x (#1258)
1 parent 7f6977b commit 952bc52

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
"parse-dashboard": "./bin/parse-dashboard"
121121
},
122122
"engines": {
123-
"node": ">=4.3"
123+
"node": ">=8.9"
124124
},
125125
"main": "Parse-Dashboard/app.js",
126126
"jest": {

webpack/base.config.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,14 @@ module.exports = {
5353
importLoaders: 2
5454
},
5555
},
56-
"sass-loader?includePaths[]=" + encodeURIComponent(path.resolve(__dirname, '../src'))
56+
{
57+
loader: 'sass-loader',
58+
options: {
59+
sassOptions: {
60+
includePaths: [path.resolve(__dirname, '../src')]
61+
}
62+
}
63+
}
5764
]
5865
}, {
5966
test: /\.css$/,

0 commit comments

Comments
 (0)