摘要: 在项目中,因为需要经常更新文件,但是浏览器缓存问题导致js文件不是最新的,所有想办法添加hash值。 并配置webpack打包文件配置路径: 配置webpack打包文件路径,及非入口 chunk文件: 配置 html-webpack-plugin 生成模板文件: 首先需要下载:cnpm instal 阅读全文
posted @ 2018-06-29 15:22 LIULIULIU666 阅读(3781) 评论(0) 推荐(0) 编辑