Vite 8.4.1
Vite 8.4.1 arrived on December 2, 2026, six days after 8.4.0 and less than a day after the last 8.5 beta build. The shape of the release is familiar: the minor line gets features, the patch line gets the cleanup that follows them. Two small additions and a handful of correctness fixes, most of them in the Rolldown and environment plumbing that 8.4 opened up.
Two Additions
- Style module sizes declared to Rolldown. The CSS pipeline now reports the size of style modules to the bundler instead of leaving it to infer them. That gives Rolldown accurate chunk-size data when it decides how to split CSS, which is the kind of change you notice in large projects with many component-scoped stylesheets and not at all in a three-page site (#24230).
ResolvedEnvironmentOptionsis exported. The types package now exposes the resolved form of environment options, so plugins that build on top of environments can type their internals against what Vite actually hands them rather than against the raw config shape (#24285).
Fixes
- Bun treated as a runtime builtin. When resolving for the Bun runtime,
bunis now classified as a runtime builtin instead of a Node builtin, so it is no longer externalized the wrong way (#24228). Projects that build for Bun and also import Node shims were the ones hitting this. - Environment configs merge properly.
mergeConfignow handles environment-level configuration correctly. Before the fix, environment blocks nested inside a merged config could lose keys or take the wrong precedence, which made shared config packages unreliable (#24229). - es-module-lexer fallback. Builds running on hardware without WASM SIMD now fall back to the non-WASM es-module-lexer instead of failing (#24234). A follow-up commit tightened the detection (#24271).
this.resolvedefaults. In dev,externalnow defaults tofalseforthis.resolve, matching what plugins expect when they ask the resolver a question and then use the answer (#24246).- Dependency bumps.
@polka/compressionmoved to 1.0.0-next.28, the Rolldown-related dependencies moved together, and the usual all-non-major rollup landed alongside (#24267, #24191, #24252).
Performance and Cleanup
One measurable improvement: the build no longer round-trips a descriptor object just to inject the ssr flag, which removes a small but repeated cost from every SSR build (#24239). The rest is housekeeping. Dev server hooks are now typed as always present, an internal utility swapped find for some, stale notes about unsupported Rolldown options were removed from the docs, and the build config shed a set of dead externals.
Who Should Upgrade
Anyone on 8.4.0, and in particular anyone running Vite inside a Bun-targeted build or a monorepo that shares config through mergeConfig. Both of those fixes address silent misbehavior rather than crashes, which is the category of bug that tends to sit in a codebase for months.
npm install -D [email protected]
No breaking changes, no deprecations, no config migrations. Vite 8.4.1 is a patch release in the strict sense: same API, fewer sharp edges.