1. cnpm install html-webpack-plugin --save-dev      下载plugin

2. 配置plugin文件

webpack打包过程

对应的plugin   插件

3. 运行

npm run build

相关文章: