@vitejs/plugin-legacy
8.2.4 · 5 Nov 2026MIT890.2k / weekRepositoryHomepagenpmAtom feed
5.4.3 is the newest release of 5.x.
In short
4 breaking3 new1 faster5 fixed5 internal
- Breaking
plugin-legacy: bump vite peer dep
- Breaking
legacy: should rename
x.[hash].jstox-legacy.[hash].js - Breaking
legacy: remove
ignoreBrowserslistConfigoption - Breaking
Bump minimum node version to 18
Release note
The section about @vitejs/plugin-legacy of a note shared by several packages.
Breaking changes
- Breaking
plugin-legacy: bump vite peer dep
- Breaking
legacy: should rename
x.[hash].jstox-legacy.[hash].js - Breaking
legacy: remove
ignoreBrowserslistConfigoption - Breaking
Bump minimum node version to 18
Features
plugin-legacy: bump vite peer dep
legacy: export
Options- Breaking
Bump minimum node version to 18
Bug Fixes
deps: update all non-major dependencies
deps: update all non-major dependencies
deps: update all non-major dependencies
deps: update all non-major dependencies
plugin-legacy: add invoke to modern detector to avoid terser treeshaking
deps: update all non-major dependencies
legacy: fix broken build when renderModernChunks=false & polyfills=false (fix #14324)
legacy: should rename
x.[hash].jstox-legacy.[hash].jsdeps: update all non-major dependencies
legacy: add guard to modern polyfill chunk
legacy: modern polyfill autodetection was injecting more polyfills than needed
legacy: suppress babel warning during polyfill scan
plugin-legacy: ensure correct typing for node esm
deps: update all non-major dependencies
Performance Improvements
Use magic-string hires boundary for sourcemaps
Code Refactoring
- Removed
legacy: remove
ignoreBrowserslistConfigoption
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.