Skip to content

[v8.0.0-beta.13] vite-reporter still suggests changing rollupOptions #21582

@IanVS

Description

@IanVS

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.11

Used Package Manager

pnpm

Logs

No response

Validations

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions