Replies: 1 comment 1 reply
-
|
can you share a complete reproducer project? disabling codesplitting should not be necessary |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Or to be more more specific css splitting. I'm using sass (not sure if it's any different with plain css) and have some components reused across multiple routes. When running a production build styles for those shared components are not loading (happens only during client side navigation, when ssred everything is fine). That's quite annoying and i would like to disable code splitting (or css splitting at least) completely.
So in vite config i've tried this:
the production build is broken
this:
ERROR: The "experimental.enableCodeSplitting" flag has been made stable and is now "autoCodeSplitting". Please update your configuration file to use "autoCodeSplitting" instead of "experimental.enableCodeSplitting".
and this:
nothing happens
Beta Was this translation helpful? Give feedback.
All reactions