毅窝疯

文章列表

Showing 20-40 of 247

迁移到webpack4:从webpack.optimize.CommonsChunkPlugin到config.optimization.splitChunk,以及有个搜出来的中文解决办法是错的

By hybnx 2018-11-29 JAVASCRIPT

今天在对着webpack中文指南一点点敲demo,在代码分离这一节遇到了一个报错: webpack4 Error: webpack.optimize.CommonsChunkPlugin has been removed, please use config.optimization.splitChunks instead 1 哦,原来是原来的插件不能用了,这个中文指南,标的是webpack4.7.0,结果这块都没更新啊。。。于是必应搜了一下,..

Read more >>

Showing 20-40 of 247