@vitejs/plugin-legacy
8.2.4 · 5 Nov 2026MIT890.2k / weekRepositoryHomepagenpmAtom feed
Upgrading @vitejs/plugin-legacy From 5.1.0 to 5.4.3
8 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Use
crypto.hashwhen available - Fixed
deps: update all non-major dependencies
- Fixed
legacy: generate sourcemap for polyfill chunks
- New
- New
Improve regex performance
- Fixed
Handle encoded base paths
- New
- Fixed
plugin-legacy: group discovered polyfills by output
- Fixed
plugin-legacy: improve deterministic polyfills discovery
- Fixed
- New
plugin-legacy: support
additionalModernPolyfills - Fixed
legacy: modern polyfill autodetection was not injecting enough polyfills
- New
- Fixed
plugin-legacy: dynamic import browserslist-to-esbuild
- Fixed
plugin-legacy: replace
esbuild-plugin-browserslistwithbrowserslist-to-esbuild - Fixed
plugin-legacy: respect modernTargets option if renderLegacyChunks disabled
- Fixed
5.3.1nothing new or fixed in the note
- New
legacy: build file name optimization
- New
legacy: support any separator before hash in fileNames
- New
plugin-legacy: add
modernTargetsoption
- New
- Fixed
plugin-legacy: syntax error in variable
detectModernBrowserCode
- Fixed
11 internal lines (docs, tests, tooling) left out.
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.