会员
众包
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
梦蝶庄周
博客园
首页
新随笔
联系
订阅
管理
2018年9月12日
webpack4 Cannot use [chunkhash] or [contenthash] for chunk in '[name].[chunkhash].js' (use [hash] instead)
摘要: 热替换影响了chunkhash的使用,你要确保hotModuleReplacementPlugin()函数没在生产环境下执行,
阅读全文
posted @ 2018-09-12 17:37 梦蝶庄周
阅读(6806)
评论(3)
推荐(3)
编辑
webpack4 使用extract-text-webpack-plugin插件遇到Use Chunks.groupsIterable and filter by instanceof Entrypoint instead问题
摘要: 请安装此版本 npm install --save-dev extract-text-webpack-plugin@next
阅读全文
posted @ 2018-09-12 17:08 梦蝶庄周
阅读(154)
评论(0)
推荐(0)
编辑
webpack4 使用CommonsChunkPlugin遇到 webpack.optimize.CommonsChunkPlugin has been removed, please use config.optimization.splitChunks instead.问题
摘要: 再webpack.config.js 文件中
阅读全文
posted @ 2018-09-12 17:04 梦蝶庄周
阅读(9367)
评论(0)
推荐(0)
编辑
公告