Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎么禁止vue.config.js默认的HtmlWebpackPlugin,自己在configureWebpack.plugin中配置HtmlWebpackPlugin? #7446

Open
Minori-ty opened this issue Jan 21, 2024 · 0 comments

Comments

@Minori-ty
Copy link

Version

5.0.8

Reproduction link

github.com

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant