webpack Can't resolve 'style'
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I was trying to follow the simple Getting Started from ( http://webpack.github.io/docs/tutorials/getting-started/ ). And I am getting this error when I try to load style.css. ERROR in ./entry.js Module not found: Error: Can't resolve 'style' in 'Path to project in my computer' BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders. You need to specify 'style-loader' instead of 'style'. @ ./entry.js 1:0-22 Any ideas ? I installed css-loader and style-loader locally using mpm as explained in tutorial. npm