Vite v8.4.0stable Released Nov 26, 2026
Impact Score: 7/10

Vite v8.4.0 - Release Notes & Engineering Impact

Source available - automated, not human-reviewed

Component: vite · Channel: stable. Automated analysis, not a compatibility certification. How this works.

Analysis updated: 2026-11-26.

Automated impact estimate - compatibility not verified
$ npm install --save-dev --save-exact [email protected]
📄 .MD
⚡ Executive Summary (TL;DR)

Vite v8.4.0 introduces new features such as enhanced module hook error reporting, WebAssembly source phase imports, and extended filesystem strictness options. It also provides key bug fixes and performance optimizations across the build system and CSS handling.

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

Take advantage of clearer hook error messages, WebAssembly source phase imports, and new configuration parameters like server.fs.strict: 'extended'.

📊 Product & Engineering Leads

Feature velocity increases with better developer experience through robust error reporting, improved bundling, and preview compression capabilities.

⚙️ DevOps & Security

Monitor CI/CD builds for enhanced manifest output and smoother native process start time lookups on Windows environments.

✨ New Features & Capabilities (4)

  • Add plugin name to hook and module hook errors
  • Add environment.addSafeModule and support server.fs.strict: 'extended'
  • Support WebAssembly source phase imports
  • Stabilize --configLoader

⚡ Performance & Enhancements (3)

  • Include worker chunks in manifest and support retrying failed CSS preloads
  • Skip emitting empty CSS files and support subpath imports in CSS url()
  • Performance improvements in build process by shifting source maps and skipping unaffected analysis hooks

🔧 Bug Fixes & Patches (3)

  • Close server on failed start
  • Dedupe CSS of inlined common chunks when cssCodeSplit is false
  • Respect top-level tsconfig option when scanning and bundling dependencies

❓ Frequently Asked Questions

Does Vite v8.4.0 contain breaking changes?

No explicit breaking changes are documented in v8.4.0; however, --configLoader=runner is deprecated in favor of the stabilized --configLoader.

What is the primary highlight of v8.4.0?

The primary highlights include improved error context with plugin names on hook errors, WebAssembly source phase imports support, and extended filesystem strictness controls.

How should teams prepare to upgrade to v8.4.0?

Teams should review any custom configuration options utilizing the deprecated --configLoader=runner flag and test builds to leverage new optimizations and CSS handling improvements.

📄 View Raw Release Notes (Original Developer Log)
### Features * add plugin name to hook errors ([#24107](https://github.com/vitejs/vite/issues/24107)) ([40475e5](https://github.com/vitejs/vite/commit/40475e51e785e470b09a67b23d66487649b32226)) * add plugin name to module hook errors ([#24151](https://github.com/vitejs/vite/issues/24151)) ([e1e1ac8](https://github.com/vitejs/vite/commit/e1e1ac831a5f8e5259287796858a854eb2326312)) * add `environment.addSafeModule` ([#23974](https://github.com/vitejs/vite/issues/23974)) ([e0fe98a](https://github.com/vitejs/vite/commit/e0fe98a050db0fcfa04c24a09b7d8f72dbbf68e1)) * add `server.fs.strict: 'extended'` ([#23972](https://github.com/vitejs/vite/issues/23972)) ([e4babd7](https://github.com/vitejs/vite/commit/e4babd7262256a3c5c383109eb7f7d489760faf5)) * **build:** include worker chunks in manifest ([#23699](https://github.com/vitejs/vite/issues/23699)) ([bc6e03c](https://github.com/vitejs/vite/commit/bc6e03c1d7eb5c2a7e202cd25d9ca1512cd06f6f)) * **build:** support retrying failed CSS preloads ([#23710](https://github.com/vitejs/vite/issues/23710)) ([2155e12](https://github.com/vitejs/vite/commit/2155e125cac5792785a485759ecc0e8af18f0438)) * **cli:** omit `-0` suffix from the first profile file name ([#23490](https://github.com/vitejs/vite/issues/23490)) ([c64ba40](https://github.com/vitejs/vite/commit/c64ba40bc5951eebc266aea4609277e566db3c3c)) * **css:** skip emitting empty CSS files ([#24059](https://github.com/vitejs/vite/issues/24059)) ([c5be55f](https://github.com/vitejs/vite/commit/c5be55f571e418992fd39f34267ec4929e79d014)) * **css:** support subpath imports in CSS `url()` ([#23869](https://github.com/vitejs/vite/issues/23869)) ([c110663](https://github.com/vitejs/vite/commit/c110663facf21a8cee199d1c668908e919d6218e)) * **environment:** expose build manifest on build environment ([#23292](https://github.com/vitejs/vite/issues/23292)) ([4db9844](https://github.com/vitejs/vite/commit/4db98449a802abd67a6975fb4fdf260fa8f82979)) * migrate to `dev.sourcemap.css` from `css.devSourcemap` ([#23765](https://github.com/vitejs/vite/issues/23765)) ([76cb51b](https://github.com/vitejs/vite/commit/76cb51bba1a8988b00a5becae5829c3e7a49d9ab)) * **module-runner:** align stacktrace with v8 ([#23690](https://github.com/vitejs/vite/issues/23690)) ([bd32fea](https://github.com/vitejs/vite/commit/bd32fea2cb171cf993c70b4dd12097d5166b3b28)) * **preview:** serve wasm compressed ([#24051](https://github.com/vitejs/vite/issues/24051)) ([39d63b8](https://github.com/vitejs/vite/commit/39d63b8479c6314caab9b78a05d3aaaf36a86b2c)) * register more references to safe modules ([#23168](https://github.com/vitejs/vite/issues/23168)) ([e258ce1](https://github.com/vitejs/vite/commit/e258ce140eef64cf89ff38c410125abd8726f274)) * register references in HTML to safe modules ([#23169](https://github.com/vitejs/vite/issues/23169)) ([ef30399](https://github.com/vitejs/vite/commit/ef30399e751740b8ad28f0a7523b3fb42c7cc539)) * separate `safeModulePaths` per environment ([#23973](https://github.com/vitejs/vite/issues/23973)) ([7480c54](https://github.com/vitejs/vite/commit/7480c547947d0b1dc519815d8f6f670964b15026)) * show running process for the same project ([#23624](https://github.com/vitejs/vite/issues/23624)) ([3e1a86e](https://github.com/vitejs/vite/commit/3e1a86e6c87a3c18356252c5d69bf9604cb85950)) * stabilize `--configLoader` and deprecate `--configLoader=runner` ([#23714](https://github.com/vitejs/vite/issues/23714)) ([e719122](https://github.com/vitejs/vite/commit/e719122cf6758086c1c228c14ad016358337cf09)) * support bundled dev mode in ssr ([#21626](https://github.com/vitejs/vite/issues/21626)) ([5ff255e](https://github.com/vitejs/vite/commit/5ff255e5b9f1460dd844ccf7a82d6f59f8899033)) * **wasm:** support source phase imports ([#22675](https://github.com/vitejs/vite/issues/22675)) ([97bb00f](https://github.com/vitejs/vite/commit/97bb00f8f55e18caa5621c1a23dd057f1ca836e8)) ### Bug Fixes * close server on failed start (fix [#23965](https://github.com/vitejs/vite/issues/23965)) ([#24020](https://github.com/vitejs/vite/issues/24020)) ([c732677](https://github.com/vitejs/vite/commit/c7326770e1121733435e0527af972f387d64d344)) * **css:** dedupe CSS of inlined common chunks when `cssCodeSplit: false` ([#24168](https://github.com/vitejs/vite/issues/24168)) ([1b34d86](https://github.com/vitejs/vite/commit/1b34d86d957e80532cb7d43897a1692df2bfc42c)) * **deps:** update all non-major dependencies ([#24190](https://github.com/vitejs/vite/issues/24190)) ([87d8a5a](https://github.com/vitejs/vite/commit/87d8a5a96f048ae3bbcd2d19e0449d176e636107)) * **dev:** register references to safe modules only for `server.fs.strict: 'extended'` ([#24206](https://github.com/vitejs/vite/issues/24206)) ([a78fb8a](https://github.com/vitejs/vite/commit/a78fb8a28db01e83611120012bd5d1189bab68aa)) * **html:** keep entry script side effects when another importer loads it first ([#24135](https://github.com/vitejs/vite/issues/24135)) ([ef295d5](https://github.com/vitejs/vite/commit/ef295d54d56478437112acd7deeb9821d755b90f)) * keep plugin error messages as thrown ([#24148](https://github.com/vitejs/vite/issues/24148)) ([24eb35a](https://github.com/vitejs/vite/commit/24eb35ad15694f1145b405c20a36a265f37a34f7)) * **optimizer:** detect in-place patch file edits in lockfile hash ([#24126](https://github.com/vitejs/vite/issues/24126)) ([d7dfe9b](https://github.com/vitejs/vite/commit/d7dfe9b7beedb756f56e509ed425e18af2aa065c)) * **optimizer:** respect top-level tsconfig option when scanning and bundling deps ([#24119](https://github.com/vitejs/vite/issues/24119)) ([760a953](https://github.com/vitejs/vite/commit/760a953fd4b4d1dd58b2652d5962af50a7510d5c)) * preserve drive letter case in `safeRealpathSync` on Windows ([#24146](https://github.com/vitejs/vite/issues/24146)) ([3567471](https://github.com/vitejs/vite/commit/3567471998e3da315675086f44368e266c9c0e33)) * **server:** allow closing uninitialized `DevEnvironment` ([#24184](https://github.com/vitejs/vite/issues/24184)) ([826dcb8](https://github.com/vitejs/vite/commit/826dcb822394b7e8151f745e61f6748865f96c29)) * **server:** keep `this.addWatchFile` in `load` hook on a module's first request ([#23861](https://github.com/vitejs/vite/issues/23861)) ([b516bc2](https://github.com/vitejs/vite/commit/b516bc2f0a0b040a4c4a2fb636bf5bb61d9ad5a2)) * **build:** keep `magicString` and `ast` in transform hook meta ([#24067](https://github.com/vitejs/vite/issues/24067)) ([c0d590d](https://github.com/vitejs/vite/commit/c0d590d697bb21530f687ea094a36c943620232c)) * **bundled-dev:** load lazy chunks under `base` ([#23798](https://github.com/vitejs/vite/issues/23798)) ([d5c79c7](https://github.com/vitejs/vite/commit/d5c79c7a7c7a3794491f67fbb344d08d7ff814ab)) * **client:** fallback to waiting on main thread for server start when trusted types are enforced ([#21483](https://github.com/vitejs/vite/issues/21483)) ([2dcd391](https://github.com/vitejs/vite/commit/2dcd391edfa858d8acf99d5585ec98c024e41ba8)) * **css:** match pure css chunk imports by relative path ([#24105](https://github.com/vitejs/vite/issues/24105)) ([76f9618](https://github.com/vitejs/vite/commit/76f9618ef0d8df285229c96f0968b5689be11571)) * **css:** no-externalize by default even for SSR ([#24075](https://github.com/vitejs/vite/issues/24075)) ([f898888](https://github.com/vitejs/vite/commit/f898888222297aa56d6fc281c585d4d4e4d51f58)) * **deps:** update all non-major dependencies ([#24103](https://github.com/vitejs/vite/issues/24103)) ([c11a671](https://github.com/vitejs/vite/commit/c11a671c2af3a0fa8db8345e684798a91fa105d7)) * **deps:** update rolldown-related dependencies ([#24028](https://github.com/vitejs/vite/issues/24028)) ([a1b813b](https://github.com/vitejs/vite/commit/a1b813be91d48b0a978aaacab875b274770d7bf4)) * **deps:** update rolldown-related dependencies ([#24104](https://github.com/vitejs/vite/issues/24104)) ([1404166](https://github.com/vitejs/vite/commit/140416668690c1f21cdf85394376f4764b51b2de)) * escape import specifiers ([#24074](https://github.com/vitejs/vite/issues/24074)) ([9bf5965](https://github.com/vitejs/vite/commit/9bf5965864a31f9a324ad676caae19e0dc3cbbb7)) * escape imported name in `transformCjsImport` ([#24080](https://github.com/vitejs/vite/issues/24080)) ([0512d78](https://github.com/vitejs/vite/commit/0512d780a3d1046419666e814dd6d28b63bf3bff)) ### Performance Improvements * **build:** shift source maps for preload rewrites instead of re-tracing them ([#24049](https://github.com/vitejs/vite/issues/24049)) ([dbce0c6](https://github.com/vitejs/vite/commit/dbce0c6715f26ae602ebf983f87f153a3a8a6e60)) * **build:** skip build import analysis hooks for unaffected chunks ([#24150](https://github.com/vitejs/vite/issues/24150)) ([1a06564](https://github.com/vitejs/vite/commit/1a065640083cafe5ae8b981b9bbfb4b0ddf93632)) * **build:** skip terser plugin when terser is not used ([#24149](https://github.com/vitejs/vite/issues/24149)) ([3bde8ed](https://github.com/vitejs/vite/commit/3bde8eda6d2d1b2c120a705d3d050b84de2c3e43)) * use native binary for getting process start time on windows ([#24087](https://github.com/vitejs/vite/issues/24087)) ([4bf4f32](https://github.com/vitejs/vite/commit/4bf4f32f7ff02d2b08a83688bed0f8d0479c5235)) ### Documentation * replace stale esbuild references in option JSDoc ([#24196](https://github.com/vitejs/vite/issues/24196)) ([0a19968](https://github.com/vitejs/vite/commit/0a1996890a4f84da995e3d37113a8df5c8e9900b)) ### Miscellaneous Chores * **css:** fix typo in `preliminaryNameToChunkMap` ([#24195](https://github.com/vitejs/vite/issues/24195)) ([3eabee5](https://github.com/vitejs/vite/commit/3eabee5c97e0ea802ebbaed71276d23f73e5b158)) * add debug log when falling back to powershell for process start time ([#24090](https://github.com/vitejs/vite/issues/24090)) ([880f1cf](https://github.com/vitejs/vite/commit/880f1cf12147e5e14f92492c0771206413adedae)) * **deps:** update dependency es-module-lexer to v3 ([#23603](https://github.com/vitejs/vite/issues/23603)) ([785b0ad](https://github.com/vitejs/vite/commit/785b0add368b212881617ab093cff4c4fde133ea)) ### Code Refactoring * **build:** skip license plugin via applyToEnvironment when disabled ([#24134](https://github.com/vitejs/vite/issues/24134)) ([3c22583](https://github.com/vitejs/vite/commit/3c22583f50fc9cef1ec837138b1fe628d86692b0)) * simplify some conditions ([#24125](https://github.com/vitejs/vite/issues/24125)) ([a379269](https://github.com/vitejs/vite/commit/a3792697fe6dd6a75ed1f9bf769864f831e93a25)) * **bundled-dev:** serve the rolldown dev runtime as a single file ([#23587](https://github.com/vitejs/vite/issues/23587)) ([69df8ad](https://github.com/vitejs/vite/commit/69df8ad865b06aa49ea6d7eac530d6f1f072fb43)) * drop unused capture groups in test-only regexes ([#24097](https://github.com/vitejs/vite/issues/24097)) ([2decae3](https://github.com/vitejs/vite/commit/2decae3422bfbb6357e3cc95ec8ee9c97f29e7f0)) * remove `optimizeDeps.rollupOptions` ([#23760](https://github.com/vitejs/vite/issues/23760)) ([0651e2c](https://github.com/vitejs/vite/commit/0651e2cc0f747a8e6ca1f9235dbc9d1fdc464598)) ### Build System * look up dts identifier replacements by imported name ([#24068](https://github.com/vitejs/vite/issues/24068)) ([f60fac3](https://github.com/vitejs/vite/commit/f60fac396c03d1e36f750378f615a1d570ecda90)) ### Beta Changelogs #### [8.4.0-beta.2](https://github.com/vitejs/vite/compare/v8.4.0-beta.1...v8.4.0-beta.2) (2026-11-25) See [8.4.0-beta.2 changelog](https://github.com/vitejs/vite/blob/v8.4.0-beta.2/packages/vite/CHANGELOG.md) #### [8.4.0-beta.1](https://github.com/vitejs/vite/compare/v8.3.8...v8.4.0-beta.1) (2026-11-16) See [8.4.0-beta.1 changelog](https://github.com/vitejs/vite/blob/v8.4.0-beta.1/packages/vite/CHANGELOG.md)