报错信息
error: chunk.entry points: use chunks.groupsiterable and filter by instanceo
TypeError: Cannot read property 'presetToOptions' of undefined in webpack-cli with ReactJs
Error: webpack.optimize.UglifyJsPlugin has been removed, please use config.optimization.minimize
解决办法
- 降级webpack版本
- Webpack 4 - How to configure minimize?