-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Copy link
Labels
Description
Describe the bug
When I perform a build, I get a warning at the end:
[plugin builtin:vite-reporter]
(!) Some chunks are larger than 500 kB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
I suppose this should point to some kind of rolldownOptions now, right?
Reproduction
NA
Steps to reproduce
Perform a build on a project with large chunks
System Info
System:
OS: macOS 26.2
CPU: (11) arm64 Apple M3 Pro
Memory: 4.10 GB / 36.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 24.13.0 - /Users/ianvs/.asdf/installs/nodejs/24.13.0/bin/node
npm: 11.6.2 - /Users/ianvs/.asdf/plugins/nodejs/shims/npm
pnpm: 10.28.2 - /Users/ianvs/.asdf/installs/nodejs/24.13.0/bin/pnpm
Browsers:
Chrome: 144.0.7559.133
Edge: 144.0.3719.115
Firefox: 147.0.3
Safari: 26.2
npmPackages:
@vitejs/plugin-basic-ssl: ^2.1.4 => 2.1.4
@vitejs/plugin-react: ^5.1.2 => 5.1.2
vite: ^8.0.0-beta.13 => 8.0.0-beta.11Used Package Manager
pnpm
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable