'mode' option has not been set 和不能生成bundle.js问题的解决办法。
解决:我的webpack版本是4.15.1
1、mode:在webpack.config.js中添加 mode:'production',
2、不能生成bundle.js:将path属性替换为publicPath
解决:我的webpack版本是4.15.1
1、mode:在webpack.config.js中添加 mode:'production',
2、不能生成bundle.js:将path属性替换为publicPath
 
                            2018-07-10
举报