html-webpack-plugin插件使用chunks属性时报错
2017-06-26 14:43
1396 查看
报错如下图:
原因是之前template属性使用的html模板内添加了script标签,将其删掉再使用chunks属性自动添加即可。
(注释掉也不可以,必须删除!)
相关文章推荐
- webpack插件:使用HtmlWebpackPlugin在页面中使用EJS语法引用模板文件(二)
- [js高手之路]深入浅出webpack教程系列4-插件使用之html-webpack-plugin配置(上)
- [js高手之路]深入浅出webpack教程系列6-插件使用之html-webpack-plugin配置(下)
- webpack 插件html-webpack-plugin的具体使用
- html-webpack-plugin插件的详细介绍和使用
- 安装html-webpack-plugin插件时报错
- HtmlWebpackPlugin插件使用实现html文件自动生成
- [js高手之路]深入浅出webpack教程系列4-插件使用之html-webpack-plugin配置(上)
- [js高手之路]深入浅出webpack教程系列6-插件使用之html-webpack-plugin配置(下)
- webpack的使用(插件HtmlWebpackPlugin)
- [js高手之路]深入浅出webpack教程系列5-插件使用之html-webpack-plugin配置(中)
- webpack之html-webpack-plugin插件
- html-webpack-plugin 中使用 title选项设置模版中的值无效
- html-webpack-plugin插件 根据模板生成多页面
- webpack---htmlWbpackPlugin插件在webpack中的应用
- webpack插件-html-webpack-plugin
- webpack 插件: html-webpack-plugin
- html-webpack-plugin 中使用 title选项设置模版中的值无效
- webpack 浅析-- htmlWebpackPlugin 插件
- webpack---使用插件,常见webpack的plugin,构建vue,react单页面/多页面工程APP必备插件