@vitejs/plugin-legacy
Advanced tools
Comparing version 1.4.2 to 1.4.3
@@ -0,1 +1,12 @@ | ||
## [1.4.3](https://github.com/vitejs/vite/compare/plugin-legacy@1.4.2...plugin-legacy@1.4.3) (2021-06-27) | ||
### Bug Fixes | ||
* don't force polyfillDynamicImport if renderLegacyChunks is false ([#3695](https://github.com/vitejs/vite/issues/3695)) ([#3774](https://github.com/vitejs/vite/issues/3774)) ([d2a51ca](https://github.com/vitejs/vite/commit/d2a51ca4eda2ca9f99d9a066836d76d2253cfc24)) | ||
* **deps:** update all non-major dependencies ([#3878](https://github.com/vitejs/vite/issues/3878)) ([a66a805](https://github.com/vitejs/vite/commit/a66a8053e9520d20bcf95fce870570c5195bcc91)) | ||
* **plugin-legacy:** chunk may not exist ([#3886](https://github.com/vitejs/vite/issues/3886)) ([dd5931d](https://github.com/vitejs/vite/commit/dd5931d9c1cf382849047332b2c3409755ceebf5)) | ||
## [1.4.2](https://github.com/vitejs/vite/compare/plugin-legacy@1.4.1...plugin-legacy@1.4.2) (2021-06-22) | ||
@@ -2,0 +13,0 @@ |
@@ -79,3 +79,5 @@ // @ts-check | ||
} | ||
config.build.polyfillDynamicImport = true | ||
if (genLegacy) { | ||
config.build.polyfillDynamicImport = true | ||
} | ||
} | ||
@@ -307,2 +309,3 @@ } | ||
transformIndexHtml(html, { chunk }) { | ||
if (!chunk) return | ||
if (chunk.fileName.includes('-legacy')) { | ||
@@ -309,0 +312,0 @@ // The legacy bundle is built first, and its index.html isn't actually |
{ | ||
"name": "@vitejs/plugin-legacy", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"license": "MIT", | ||
@@ -29,4 +29,4 @@ "author": "Evan You", | ||
"dependencies": { | ||
"@babel/standalone": "^7.14.6", | ||
"core-js": "^3.14.0", | ||
"@babel/standalone": "^7.14.7", | ||
"core-js": "^3.15.1", | ||
"magic-string": "^0.25.7", | ||
@@ -33,0 +33,0 @@ "regenerator-runtime": "^0.13.7", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32594
597
Updated@babel/standalone@^7.14.7
Updatedcore-js@^3.15.1