Clarify scss rule 'fixing'

This commit is contained in:
Dannon Baker
2019-04-04 11:08:11 -04:00
parent 8bc7db0492
commit 7072f04ed5
+2 -2
View File
@@ -5,8 +5,8 @@ let webpackConfig = require("./webpack.config.js");
// Clear existing .scss rule(s) out of webpack config, we need special handling
// here.
webpackConfig.module.rules = webpackConfig.module.rules.filter(value => {
return value.test.toString() != /\.scss$/.toString();
webpackConfig.module.rules = webpackConfig.module.rules.filter(rule => {
return rule.test.toString() != /\.scss$/.toString();
});
webpackConfig.module.rules.push({