Vite 7 Released — ESM-only, Node 20+, and Rolldown as the Next-Gen Bundler

ViteFrontendDevOps

Key update

Vite 7 (announced June 24, 2025) is a major release: the CLI and core are distributed as ESM-only, Node.js support now requires modern Node (20.19+/22.12+), the default browser target moves from "modules" to a more predictable "baseline‑widely‑available", the Environment API gains a new buildApp hook for framework integrations, and — most consequentially for build performance — Vite now supports Rolldown (a Rust-based bundler) as a drop-in replacement that the team intends to make the default bundler in future majors.

Why it matters

This is not a cosmetic bump. ESM-only distribution and the Node requirement force concrete changes in CI, Docker images, and any tooling that relied on CommonJS shims: expect a need to pin or upgrade CI runners and build containers. The new default browser baseline reduces conservative transpilation and polyfills for many projects, improving bundle size and runtimes without manual config. The Environment API stabilization and buildApp hook give framework authors (and runtime providers like edge/worker teams) a supported way to coordinate environment-specific builds, which should simplify and standardize framework integrations going forward.

The Rolldown pathway is the practical headline for teams that suffer long cold builds or heavy CI costs: replacing the JS-based bundler with a Rust implementation can materially cut build times and memory use for large monorepos and complex asset graphs. That said, plugin and tooling authors must validate compatibility (ESM-only distribution + changed plugin API surface), and framework maintainers should test the Environment API behavior in staging before flipping it in production. Migration work will mostly be operational (upgrade Node in CI/images, run plugin compatibility checks, smoke-test builds with rolldown-vite), but the payoff is lower build latency, smaller production bundles in many cases, and a cleaner long-term ecosystem direction.

Source

Read Next