The Vite team released version 8.4 on 26 November 2026. Vite is a bundler and dev server for web projects, that is, a tool that runs a site during development and builds it for publishing.
Stricter dev server file checks
The server.fs setting stops the dev server from serving files to outsiders if the server can be reached from outside. It was added back in Vite 2.7. Previously the check worked on a deny-list principle: sensitive files had to be specified by the user and by Vite itself. Because of the growing number of attacks, the developers introduced a stricter allow-list approach.
The server.fs.strict: 'extended' value extends the checks to modules loaded by plugins. Vite now adds to the allow list modules referenced not only through import but also, for example, through url() in CSS. If you combine server.fs.strict: 'extended' with server.fs.allow: [], the server will serve only files referenced by the entry point, together with transitive references. The team plans to make this approach the default in the next major version. A plugin that generates a module referencing an asset other than through import can call this.environment.addSafeModule so that users do not have to add that asset to server.fs.allow.
Other changes
In July the HTML specification was updated so that browsers can retry failed module loads for dynamic imports. The new behavior is implemented in Chrome 156+, Firefox 155+ and Safari Technology Preview 252. Vite 8.4 improved the preload helper: the CSS of a dynamic chunk is now loaded again when the dynamic import runs again.
Subpath imports, that is, internal import names supported by Node.js, now work in CSS url() as well. Vite first tries to resolve the path as a subpath import, and if that fails, treats it as a regular URL with a hash. The team recommends preferring them over resolve.alias and tsconfig paths.
Vite also detects duplicate CLI processes: if a dev server is already running for the same project, a second launch fails with an error. The check can be bypassed with the --bypass-lock flag.
Support for source phase import has been added for Wasm: importing a .wasm file yields a WebAssembly.Module value. This feature will be supported by TypeScript 7.1, which is currently in beta. When the stable version is released, Vite will recommend it instead of its own .wasm?init function.
In addition, “very experimental” support for bundled dev mode for SSR (server-side rendering) has appeared. This is the foundation for supporting the mode in meta-frameworks. The full list of changes is in the project’s changelog.
Source: Vite (The Vite Team)