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

mini-css-extract-plugin >= 2.9.0 will prefetch initial css chunk unexpected #1120

Open
992429169 opened this issue Jan 22, 2025 · 0 comments

Comments

@992429169
Copy link

Bug report

mini-css-extract-plugin >= 2.9.0 will prefetch initial css chunk unexpected

Actual Behavior

Image Image

Expected Behavior

there is no need to prefetch this chunk, because it's a initial chunk

How Do We Reproduce?

git clone https://github.com/992429169/problem-reproduce
cd problem-reproduce
npm i
npm run dev

start a server and visit index.html
i also give a fix patch in this repo

Please paste the results of npx webpack-cli info here, and mention other relevant information

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