Rust Ate the JavaScript Toolchain. Then Cloudflare Bought It.
Vite changed how it works. It moved from two tools to one single pipeline.
The old way used esbuild for development and Rollup for production. This caused problems. You had to manage two configurations. Your code could behave differently in dev than in production.
Vite 8 fixes this. It uses a single bundler called Rolldown. Rolldown is written in Rust. It uses Oxc to handle TypeScript and JSX.
The speed increase is massive. • Linear cut build times from 46 seconds to 6 seconds. • Vite reports builds 10 to 30 times faster than before. • Large projects see 3x to 8x improvements.
If you have large dependency graphs or slow CI, you will feel this. If your builds are already fast, this is a minor update.
The migration is designed to be easy. Rolldown uses the Rollup plugin API. This means you do not have to relearn everything.
Watch out for these technical changes:
- Plugins using transformWithEsbuild will fail. You must use transformWithOxc instead.
- build.rollupOptions is now build.rolldownOptions.
- CJS interop and Yarn PnP might cause friction.
Follow these steps to upgrade safely:
Step 1: Stay on Vite 7 and swap the bundler. Run: npm install rolldown-vite@latest Test your build and check your plugins.
Step 2: Upgrade to Vite 8. Run: npm install vite@8 Do this only after Step 1 works perfectly.
There is also big news regarding ownership. Cloudflare acquired VoidZero. This is the company founded by Evan You. VoidZero builds Vite, Vitest, Rolldown, and Oxc.
Cloudflare promised several things:
- All projects stay MIT-licensed.
- They remain vendor-neutral.
- They started a one million dollar fund for ecosystem maintainers.
This acquisition solves funding issues for the developers. However, it also concentrates power. Cloudflare already acquired the Astro team. One company now has a large influence over foundational web tools.
Open source relies on trust. The tools are faster and better. Use them for the performance. Watch the ownership closely for the long term.
Source: https://dev.to/andresclua/rust-ate-the-javascript-toolchain-then-cloudflare-bought-it-4d87
