Vite 8 + Rolldown: Rust-Powered Builds That Are 10–30x Faster

Published: (May 25, 2026 at 07:14 PM EDT)
3 min read
Source: Dev.to

Source: Dev.to

Cover image for Vite 8 + Rolldown: Rust-Powered Builds That Are 10–30x Faster

Why Vite Needed a New Bundler

For years, Vite used two separate bundlers: esbuild for development (speed) and Rollup for production (advanced chunking and plugin ecosystem). This split caused inconsistencies—plugins that worked in dev could fail in production, and module resolution differences led to subtle bugs. The glue code grew increasingly complex.

Rolldown solves this by being a single bundler for both development and production. Written in Rust, it supports the Rollup plugin API and is maintained by the VoidZero team (the same team behind Vite). The new toolchain consists of:

  • Vite – orchestration
  • Rolldown – bundling
  • Oxc – parsing, transforming, linting

All from one team, providing a unified experience.

What the Numbers Actually Look Like

Benchmarks from early adopters of rolldown-vite (the technical preview) show substantial gains:

  • Linear – production build time dropped from 46 s to 6 s
  • Beehiiv – 64 % reduction in build time
  • Ramp – 57 % reduction

Rolldown is reported to be 10–30× faster than Rollup for production bundling while matching esbuild’s transformation speed.

Upgrading and What Changes

Migration is straightforward because Rolldown implements the same plugin hooks as Rollup and Vite.

npm install vite@8

For larger projects, a two‑step upgrade is recommended:

# Step 1: try the rolldown-vite preview
npm install rolldown-vite

# Step 2: update to the official Vite 8 release
npm install vite@8

New Quality‑of‑Life Features

  1. Built‑in tsconfig paths resolution

    // vite.config.ts
    import { defineConfig } from 'vite';
    
    export default defineConfig({
      resolve: {
        tsconfigPaths: true, // reads paths from tsconfig automatically
      },
    });
  2. Automatic support for TypeScript’s emitDecoratorMetadata – useful for Angular and NestJS projects.

Overriding Vite in Meta‑Frameworks

If you depend on frameworks that haven’t yet updated (e.g., Nuxt, Astro, Vitest), add an override:

// package.json (npm)
{
  "overrides": {
    "vite": "^8.0.0"
  }
}

What’s Coming Next

The Rolldown integration enables features impossible with the previous split‑bundler model:

  • Full Bundle Mode (experimental): up to 3× faster dev server startup and 10× fewer network requests for large projects by letting Rolldown handle the entire dev pipeline.
  • Raw AST transfer: JavaScript plugins could access Rolldown’s Rust‑produced AST with near‑zero overhead, narrowing the performance gap between native and JS plugins.

If you haven’t tried Vite 8 yet, upgrading now lets you measure the build‑time improvements on your own project. Most teams can migrate in minutes and see immediate payoff—no more waiting 45 seconds for a frontend build.

0 views
Back to Blog

Related posts

Read more »

Chess

Hey everyone! 👋 I'm a student from India, and I've been spending my free time learning how to build web applications. Today, I want to share my project: a full...