This project now uses Rolldown-Vite, a high-performance Rust-based bundler that serves as the future foundation of Vite.
Rolldown-Vite is a drop-in replacement for Vite that uses:
- Rolldown: A Rust-based next-generation bundler
- Oxc: High-performance JavaScript tools (parser, transformer, resolver, minifier)
Based on real-world usage, Rolldown-Vite provides:
- 3x to 16x faster production builds
- Up to 100x less memory usage during builds
- No
esbuilddependency (uses Oxc for all transformations)
The implementation uses pnpm's overrides feature to replace Vite with Rolldown-Vite:
{
"pnpm": {
"overrides": {
"vite": "npm:rolldown-vite@latest"
}
}
}This approach is recommended for meta-frameworks like Nuxt that list Vite as a peer dependency.
- ✅ Dev server running on port 9876
- ✅ Production builds working
- ✅ All Nuxt features compatible
⚠️ Some warnings about sourcemaps (expected during technical preview)
Current build times:
- Client build: ~4.3s
- Server build: ~1.7s
- Total build time: ~20s (including font downloads and Nitro server build)
Rolldown-Vite is currently in technical preview (Phase One). The roadmap:
- Phase One (Current): Separate
rolldown-vitepackage for early adopters - Phase Two: Changes merged into main Vite codebase with opt-in full-bundle mode
- Phase Three: Full-bundle mode becomes default for Vite
If you encounter issues with Rolldown-Vite:
- Report them in the rolldown-vite repository
- NOT in the main Vite repository