Vite 8.0 Is Out
a day ago
- #JavaScript
- #Vite
- #Web Development
- Vite 8.0 is released with Rolldown as its single, unified, Rust-based bundler, offering 10-30x faster builds.
- Vite now handles 65 million weekly downloads and introduces registry.vite.dev for plugin discovery.
- Rolldown replaces the dual-bundler approach (esbuild and Rollup), improving performance and compatibility.
- Key features include integrated DevTools, built-in tsconfig paths support, and Wasm SSR support.
- Vite 8 requires Node.js 20.19+ or 22.12+ and includes improvements like browser console forwarding.
- The @vitejs/plugin-react v6 is released, using Oxc for React Refresh and removing Babel dependency.
- Future plans include Full Bundle Mode, Raw AST transfer, and stabilizing the Environment API.
- Migration to Vite 8 is designed to be smooth, with a compatibility layer for existing configurations.
- Special thanks to Rollup and esbuild for their foundational contributions to Vite's success.