css is not part of the bundle with option cssCodeSplit since 3.1.0 #10137
Labels
feat: css
feat: library mode
p3-minor-bug
An edge case that only affects very specific usage (priority)
Describe the bug
With Vite 3.1.0 and the option
cssCodeSplit
, the css is not injected in the JS bundle. Also, the--watch
also now produce a different output as well.Surprisingly enough, in a private project, I was able to reproduce this inconsistency between build and build --watch and the
cssCodeSplit
option between 3.0.3 and 3.0.4, but in the repro project, it seems it's only starting at 3.1.0Reproduction
https://github.com/tleunen/vite-build-watch-css-issue
System Info
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: