v8.3.4
Added 1
- Support `import.meta.hot.acceptExports` in bundled dev
Changed 4
- Update all non-major dependencies
- Update rolldown-related dependencies
- Skip cloning call sites that have no source map in the module runner
- Import CSS HMR helpers from `/@vite/client` in bundled dev
Fixed 13
- Avoid mutating HMR defaults
- Correct preloads when chunkImportMap is enabled with a non-root base
- Wait for in-flight stylesheets in the preload helper
- Serve `/@vite/client` and stub `@vite/env` in bundled dev
- Skip rewriting unchanged adopted styles in the client
- Resolve imported preprocessors from their file path when using lightningcss
- A restart requested during a restart is no longer dropped in dev
- Modules ending with a JS-like query are no longer treated as JS
- Avoid adding the filesystem root to the watcher in HTML handling
- Skip caching CSS of chunks that form a cycle
- Scan deep imports with custom extensions in the optimizer
- Match static aliases on path boundaries in the server
- Normalize file before root check in `ensureWatchedFile`
Removed 1
- Remove input option unescaping
From Vite
Features
Bug Fixes
- avoid mutating hmr defaults (fix #23575) (#23576) (574d5e3)
- build: correct preloads when chunkImportMap is enabled with non-root base (#23698) (2a8c0f0)
- build: wait for in-flight stylesheets in preload helper (fix #23652) (#23662) (036b745)
- bundled-dev: serve
/@vite/clientand stub@vite/env(#23664) (5afc5a8) - client: skip rewriting unchanged adopted styles (#23697) (fa71469)
- css: resolve imported preprocessors from their file path with lightningcss (#23688) (cf52011)
- deps: update all non-major dependencies (#23648) (8a4c19c)
- deps: update rolldown-related dependencies (#23649) (794516d)
- dev: a restart requested during a restart used to be dropped (fix #23392) (#23484) (70d56ea)
- don't treat modules ending with js-like query as js (#23687) (fcb6f12)
- html: avoid adding filesystem root to watcher (#23689) (3a7f2ae)
- html: skip caching CSS of chunks in a cycle (fix #23628) (#23636) (15d82f7)
- optimizer: scan deep imports with custom extensions (#23678) (8579189)
- remove input option unescaping for now (#23694) (facc2fb)
- server: match static aliases on path boundaries (#23643) (b28db28)
- watcher: normalize file before root check in
ensureWatchedFile(#23673) (12bb28c)