怎么禁止vue.config.js默认的HtmlWebpackPlugin,自己在configureWebpack.plugin中配置HtmlWebpackPlugin?
Minori-ty opened this issue · 0 comments
Minori-ty commented
Version
5.0.8
Reproduction link
Environment info
windows11
node v20.10.0
npm v10.3.0
Steps to reproduce
npm install
npm run build
ERROR: Conflict: Multiple assets emit different content to the same filename index.html
What is expected?
我希望禁掉vue-cli默认的HtmlWebpackPlugin,然后自己通过configureWebpack的plugin,进行new HtmlWebpackPlugin的自定义化。
不希望chainWebpack的方式来修改HtmlWebpackPlugin配置。只想通过configureWebpack来配置
What is actually happening?
ERROR: Conflict: Multiple assets emit different content to the same filename index.html