webpack4+學習筆記:4. html-webpack-plugin 插件 與 clean-webpack-plugin 插件

html-webpack-plugin 插件 與 clean-webpack-plugin 插件 一、 html-webpack-plugin 插件 作用:將 html 打包到 dist 下可以產生自動引入生產的js 1. 安裝 //終端輸入 npm install html-webpack-plugin -D 查看 package.json 顯示已安裝成功 (2)webpack.config.j
相關文章
相關標籤/搜索