
Vite 8 introduces a major architectural change by migrating from a dual-bundler setup to a single unified Rust-based bundler, Rolldown. Earlier Vite versions used esbuild for fast development compilation and Rollup for optimized production builds, which required two transformation pipelines, separate plugin systems, and additional glue code that led to edge cases from inconsistent module handling. Vite 8 replaces both pipelines with Rolldown, reporting 10 to 30x faster builds while maintaining full plugin API compatibility with the existing Vite plugin ecosystem. Reported beta results include large production build time reductions across multiple companies and developers. A compatibility issue affects Yarn Plug’n’Play module resolution on Windows, with a node-modules nodeLinker workaround that sacrifices PnP benefits.
"Vite 8 resolves this by replacing both with Rolldown, which delivers 10 to 30x faster builds while maintaining full plugin API compatibility with the existing Vite plugin ecosystem. Since its earliest versions, Vite relied on two separate bundlers: esbuild for fast development compilation and Rollup for optimized production builds. Maintaining two separate transformation pipelines meant two plugin systems, growing glue code, and an accumulation of edge cases around inconsistent module handling."
"The real-world performance improvements reported during the beta period have been big. Linear saw production build times drop from 46 seconds to 6 seconds, Ramp reported a 57% reduction, and Beehiiv achieved a 64% improvement. On Hacker News, one developer shared a similar experience: “Vite 8 is pretty incredible. We saw around an 8x improvement (4m -> 30s) in our prod build, and it was nearly a drop-in replacement. Congrats (and thank you!) to the Vite team!”"
"Another reported their 12-minute build cut to just 2 minutes on a project with around one million lines of code. On Reddit's r/rust, discussion highlighted the growing role of Rust across the JavaScript toolchain, with Rolldown, Oxc, and Lightning CSS all written in Rust. A notable compatibility issue has surfaced between Vite 8 and Yarn's Plug'n'Play (PnP) module resolution strategy, particularly on Windows."
"The Vite team has signalled it may not actively support Yarn PnP going forward. For affected projects, switching Yarn's nodeLinker to node-modules is the current workaround, though this negates PnP's disk-space and install-speed benefits. Beyond the Rolldown integration, Vite 8 introduces several developer experience improvements."
Read at InfoQ
Unable to calculate read time
Collection
[
|
...
]