Skip to main content

Vite 8.2.0

Release Date: July 30, 2026

Vite 8.2.0 has been released — the latest minor version of the ultra-fast build tool brings improved bundled-dev mode, enhanced HMR, and new configuration features.

What Changed in Vite 8.2.0

Released on July 30, 2026, Vite 8.2.0 is a meaningful step forward for the build tool that has become the de-facto standard for modern frontend development. The release focuses on refining the bundled-dev mode, improving hot module replacement reliability, and adding developer-friendly configuration improvements.

Key Features

  • Bundled-dev reload overhaul — Instead of reloading via a fallback page, the dev server now reloads cleanly once after a rebuild, dramatically reducing flicker and wasted time during development
  • Worker HMR support — Worker file updates are now accepted by HMR, eliminating the need for full-page reloads when editing worker scripts
  • Config incompatibility column hints — The CLI now includes the exact column position when reporting config incompatibilities with the native loader, making debugging easier
  • Network interface name resolution — When exposing the dev server to the network, Vite now displays the interface name (e.g., en0, eth0) alongside the URL, so you know which connection is being used
  • Expanded server.fs.allow — The input option has been added to server.fs.allow, giving more control over which files can be served

Bug Fixes and Improvements

This release squashes several important bugs. Build errors during HMR updates in bundled-dev mode are now printed directly to the terminal, so you won't miss critical failure messages. The HMR system preserves environment snapshots during server restarts, preventing stale state from leaking across reloads. Import analysis now correctly handles interop imports injected into optimized dependency files by plugins, and stack trace interception continues to work even when Object.prototype is frozen — a rare edge case that previously broke debugging entirely.

A fix for the module graph lookup ensures the base path is properly stripped in indexHtml lookups, and top-level input options can now be resolved correctly through plugins.

Beta Features Carried Forward

Several features that debuted in the 8.2.0 beta have been refined and finalized. The new input option gives build configurations more flexibility. Optimizer support has been expanded to include the aube and nub lockfile formats. The team also shipped WASM improvements including an expanded test suite, unwrapping of WebAssembly.Global, and enabled js-string builtins.

Performance and Dependencies

All non-major dependencies have been updated, and the Rolldown-related dependency chain has been brought up to date. A performance improvement in the optimizer checks popular package manager lockfiles first, speeding up project analysis on startup.

Vite 8.2.0 is available now via npm, pnpm, yarn, and bun. Upgrade with your preferred package manager to start taking advantage of these improvements.

What is New?

By continuing to use the site, you agree to the use of cookies.