Releases: CyanSalt/vite-plugin-legacy-swc
Releases · CyanSalt/vite-plugin-legacy-swc
v2.0.1
v2.0.0
2.0.0 (2025-07-23)
⚠ BREAKING CHANGES
- esm only
- remove
location.protocol!="file:"condition for modern android webview, vitejs/vite#20179
Features
- add
assumptionsoption, vitejs/vite#19719 (9925225) - add
sourcemapBaseUrlsupport, vitejs/vite#19281 (7757047) - esm only (c170b61)
Bug Fixes
- build respect
hashCharactersconfig, vitejs/vite#19262 (40eaf95) - don't lower CSS if legacy chunks are not generated, vitejs/vite#20392 (5c1401f)
- fix assumptions usage (d919b92)
- import swc once, vitejs/vite#19152 (01d5f5a)
- remove
location.protocol!="file:"condition for modern android webview, vitejs/vite#20179 (2b9a7d9) - warn if plugin-legacy is passed to
worker.plugins, vitejs/vite#19079 (2797160)
v1.2.3
v1.2.2
1.2.2 (2024-12-20)
Bug Fixes
- generate sourcemap for polyfill chunks, vitejs/vite@f311ff3c2b19636457c3023095ef32ab9a96b84a[#diff%5D(https://github.com/CyanSalt/vite-plugin-legacy-swc/issues/diff)-84204d8a3f75f1603eb03a8aac4a229855fecee87636307619b9f499041466f8L144 (a78574a), closes /github.com/vitejs/vite/commit/f311ff3c2b19636457c3023095ef32ab9a96b84a#diff-84204d8a3f75f1603eb03a8aac4a229855fecee87636307619b9f499041466f8L144
- log label (4e0687e)
Performance Improvements
- use crypto.hash when available, vitejs/vite@2a148844cf2382a5377b75066351f00207843352[#diff%5D(https://github.com/CyanSalt/vite-plugin-legacy-swc/issues/diff)-ab75c34fa418085884af97e74c9166830b9f0a3456f9d3336e0c075d6ae9b05aR974 (be5b068), closes /github.com/vitejs/vite/commit/2a148844cf2382a5377b75066351f00207843352#diff-ab75c34fa418085884af97e74c9166830b9f0a3456f9d3336e0c075d6ae9b05aR974