webpack "extract-text-webpack-plugin" 打包报错loader is used without the corresponding plugin

有个项目用到了vue+webpack ,run bulid的时候一直报

[1] ERROR in ../src/containers/Main.scss
[1] Module build failed: Error: "extract-text-webpack-plugin" loader is used without the corresponding plugin, refer to https://github.com/webpack/extract-text-webpack-plugin for the usage example
[1] at Object.module.exports.pitch (/Users/manueldupont/react-isomorphic-starterkit/node_modules/extract-text-webpack-plugin/loader.js:21:9)
[1] @ ../src/containers/Main.js 25:12-34

后来发现是nodejs的版本太高,我用的6.x的版本,降到4.x版本就不报错了,具体原因未知



你可能感兴趣的:(前端)