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
As a developer using Vite, I want to be able to override rollupOptions.manualChunks without losing the default behaviors from Vite, so that I don't have to reimplement the wonderful things Vite does for me
Suggested solution
Two solutions come to mind:
Exposing the default rollupOptions.manualChunks implementation so that my function can call it
Special-casing the rollupOptions.manualChunks option and "merging" it with the Vite default (ie, call myChunks ?? viteChunks since the function should already return undefined to use rollup defaults)
Clear and concise description of the problem
As a developer using Vite, I want to be able to override
rollupOptions.manualChunks
without losing the default behaviors from Vite, so that I don't have to reimplement the wonderful things Vite does for meSuggested solution
Two solutions come to mind:
rollupOptions.manualChunks
implementation so that my function can call itrollupOptions.manualChunks
option and "merging" it with the Vite default (ie, callmyChunks ?? viteChunks
since the function should already return undefined to use rollup defaults)Honestly I think either would work nicely!
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: