-
Notifications
You must be signed in to change notification settings - Fork 26
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
Wrong globalCssToInject #100
Comments
Hi @shiyiya I checked the status of the legacy plugin handled officially by the Vite project. It does already inject the CSS so the code isn't required. I will release a new version of this plugin to remove the code that cause this bug since isn't more required for the plugin-legacy. |
…ce isn't required anymore (#104)
Great. Good work.👍 |
When I build multiple single files at the same time, some introduce CSS and some do not, but in reality, all CSS is saved to gloabl, resulting in each single file introducing all CSS.
https://github.com/marco-prontera/vite-plugin-css-injected-by-js/blob/main/src/utils.ts#L228
The text was updated successfully, but these errors were encountered: