告诉大家一个巨坑!
loader: "babel-loader" 的双引号之间不能有空格,比如
loader: " babel-loader",这会导致出现错误: Cannot resolve module ' babel-loader'
搞了我一晚上 T T
loader: "babel-loader" 的双引号之间不能有空格,比如
loader: " babel-loader",这会导致出现错误: Cannot resolve module ' babel-loader'
搞了我一晚上 T T
2017-07-01
我本来写的相对路径 './src' 速度447ms,换成path.resolve(__dirname,'src') 速度暴涨到1220ms,我也是这样,求解啊
2017-06-30
非常感谢老师,感觉老师讲的很清楚,而且对细节把控要很好~~期待有webpack下~~或者后续更新教程。再次感谢老师~~比心❤❤❤❤❤
2017-06-29
开始照着老师的敲,然后自己在plugins里面添加了excludeChunks['main],因此在接下来的视频中,<%= htmlWebpackPlugin.files.chunks.main.entry %>会报错,希望没有像我这样的,【捂脸】
2017-06-29
<%= htmlWebpackPlugin.files.chunks.main.entry %>怎么能放到script标签里面呢,这不吧
2017-06-29
我的一直报错,求大神帮忙 谢谢~
No configuration file found and no output filename configured via CLI option.
A configuration file could be named 'webpack.config.js' in the current directory.
Use --help to display the CLI options.
No configuration file found and no output filename configured via CLI option.
A configuration file could be named 'webpack.config.js' in the current directory.
Use --help to display the CLI options.
2017-06-29