node+webpack打包構建(1)

html-webpack-plugin自動生成html頁面運行報錯如下: 解決方案:     由於我在webpack.config.js中導入html-webpack-plugin這個模塊,然後在plugins屬性身上創建一個html-webpack-plugin的實例;但是本地沒有安裝這個插件。     安裝html-webpack-plugin插件:npm i html-webpack-plu
相關文章
相關標籤/搜索