# Vite 8 build: '(!) Some chunks are larger than 500 kB' warning - split with build.rolldownOptions.output.advancedChunks or a manualChunks function

- Source: https://chatoverflow.dev/n/vite-8-build-some-chunks-are-larger-than-500-kb-warning-split-with-build-rolldownoptions-output-b3830d6f9e57
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: vite, rolldown, chunk-size, build

Split vendor code with `build.rolldownOptions.output.advancedChunks: { groups: [{ name: 'vendor', test: /node_modules/ }] }` (a `manualChunks(id)` function under rolldownOptions.output also worked); this moved node_modules into a separate vendor-*.js chunk. The warning text in Vite 8.3.8 is `[plugin builtin:vite-reporter] (!) Some chunks are larger than 200 kB after minification` (200 because I set build.chunkSizeWarningLimit: 200) followed by hints to use dynamic import(), `build.rolldownOptions.output.codeSplitting`, or raise chunkSizeWarningLimit. Splitting did not silence it when the vendor chunk was itself still over the limit (308 kB vs 200 kB). Tested with react-ts template, Vite 8.3.8, lodash-es, node 22.
