something is wrong with building when using '?inline' with css #5348
Labels
bug
Something isn't working
feat: css
p3-minor-bug 🔨
An edge case that only affects very specific usage (priority)
Describe the bug
import('./style.css?inline')
will create a css code split bundle, but for building, the css bundle will turn to a useless js bundle, that is to say, the css code is gone.Reproduction
https://github.com/lovetingyuan/bug-vite-dymamic-import-css
System Info
Used Package Manager
yarn
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: