-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to disable vendor chunks #1683
Comments
You can disable it by setting build.rollupOptions.output.manualChunks to undefined. User options will overwrite the default. |
|
works a-okay for me! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In a recent update vite behaviour changed and vite is now creating a vendor chunk but in some case (for an app with only one entrypoint) we may want to get only one file.
Is it possible to add an option to disable it, or did I miss something ?
I looked at the code and this option is linked to other options :(
https://github.com/vitejs/vite/blob/main/packages/vite/src/node/build.ts#L364
The text was updated successfully, but these errors were encountered: