无效的CSS SASS文件“......载入样式”:预计1个选择或规则,是‘VAR内容= requi’的的WebPack为编译后的错误
我需要的时候我用青菜使用webapck。 然后出现这个错误。 最后,我通过修改编译器修改了编译器。 这里是我的代码,我张贴,我有谁有同样的问题的朋友。
{
test:/\.scss $/,
include:/node_modules /,// emphasis is on this line of code problem solving
loaders: [" style - loader ", "css-loader", "sass-loader"]// webpack2 needs to be added in the back - loader
}
上面的代码空间有点问题。请复制下面的代码。对不起 –
你知道你可以编辑帖子,对吧? –