Vite 8.4.0 brings plugin error improvements and build enhancements
Vite 8.4.0 is now available, featuring better plugin error reporting and several build-related improvements.
Vite, the next-generation frontend tooling, has released version 8.4.0. This update introduces several new features aimed at improving the developer experience and build process.
A key improvement is the addition of plugin names to hook errors and module hook errors. This change helps developers identify the source of issues more easily. The build process also sees enhancements, including the ability to include worker chunks in the manifest and support for retrying failed CSS preloads.
For CSS, the update adds support for subpath imports in url() functions and skips emitting empty CSS files, optimizing output. Developers can now use environment.addSafeModule and set server.fs.strict to 'extended'. Additionally, WebAssembly files are now served compressed in preview mode, potentially improving performance. The build manifest is also exposed on the build environment.