-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Allow partial override of rollup manualChunks #5487
Copy link
Copy link
Closed
Description
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 me
Suggested solution
Two solutions come to mind:
- Exposing the default
rollupOptions.manualChunksimplementation so that my function can call it - Special-casing the
rollupOptions.manualChunksoption and "merging" it with the Vite default (ie, callmyChunks ?? viteChunkssince 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
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Reactions are currently unavailable