装完node-sass 以后编译还会报那个错误
来源:4-5 Webpack配置(2)

慕神7429157
2018-05-23
node-sass安装成功以后,执行 node_modules/.bin/webpack,还是报这个错
ERROR in ./src/index.scss
Module parse failed: Unexpected token (4:4)
You may need an appropriate loader to handle this file type.
写回答
1回答
-
Rosen
2018-05-25
配置文件的loader里没配置scss后缀的规则吧
00
相似问题