{
test: /\.scss$/, use: ['style-loader', 'css-loader', 'sass-loader'], }
Invalid CSS after "...load the styles": expected 1 selector or at-rule, was "var content = requi" in G:......................\src\components\common\css\reset.scss (line 1, column 1)
// 這兩行: sass: generateLoaders('sass', { indentedSyntax: true }), scss: generateLoaders('sass'),
就是本身不要加樣式相關的loader了;
或者本身添加樣式的loader但要註釋掉這兩行,固然若是你用的是less就註釋掉對應的行就能夠了。css