You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've made lean versions of my chunks, without static VNodes (MyModule.js -> MyModule.lean.js), exactly like you did in VitePress.
But i can't override vite's logic of naming chunks.
Right now i've figured out hacky solution using nginx:
the-illarionov
changed the title
Ability to override __vitePreload chunk naming politics
Add ability to override __vitePreload chunk naming politics for SSR
May 24, 2022
Clear and concise description of the problem
I've made lean versions of my chunks, without static VNodes (MyModule.js -> MyModule.lean.js), exactly like you did in VitePress.
But i can't override vite's logic of naming chunks.
Right now i've figured out hacky solution using nginx:
And on client:
But it feels soooooo dirty.
Suggested solution
It would be great if i could write something like that in vite.config.js:
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: