-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
css is not being extracted for systemjs #5901
Open
7 of 8 tasks
Labels
Comments
This was referenced Nov 30, 2021
8 tasks
I have the exact same problem. For systemjs bundle target the CSS is not created. Any chance this gets fixed? |
How about This allows tuning code generation more precisely:
|
9 tasks
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Describe the bug
According to https://vitejs.dev/guide/features.html#css-code-splitting
However, when building to systemjs output, this feature seems to be ignored.
Reproduction
Believe this line here should include
system
orsystemjs
as wellvite/packages/vite/src/node/plugins/css.ts
Line 397 in 1809fcc
Potentially adding to this line as well:
vite/packages/vite/src/node/plugins/css.ts
Line 456 in 1809fcc
A PR is available for your convenience #5902 :)
Have tested, and works as expected after applying the patch.
System Info
Used Package Manager
yarn
Logs
Validations
The text was updated successfully, but these errors were encountered: