From 485e04b50850ea0f1f128a27e672d5ba174e5cc6 Mon Sep 17 00:00:00 2001 From: Anton Gilgur Date: Tue, 25 Aug 2020 04:31:47 -0400 Subject: [PATCH] clean/deps: remove unused Babel plugins: transform-runtime, dynamic-import (#837) - transform-runtime is not used - its functionality will instead be added by the newer/better babel-plugin-polyfill-regenerator in a future commit/PR - move it to devDep as there is an integration test for it - syntax-dynamic-import is not used - and it's also included in @babel/preset-env anyway - these were added in bfc0590e0fbce68fc2594c4c2be12400272eebab to support `@wessberg/rollup-plugin-ts` but were not rolled back when that was rolled back in 3989277a6a4bf9894c5dc19a5b6fcd35b772a177 --- package.json | 3 +-- yarn.lock | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 03174c905..a8c30a31b 100644 --- a/package.json +++ b/package.json @@ -46,9 +46,7 @@ "@babel/plugin-proposal-class-properties": "^7.4.4", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.7.4", "@babel/plugin-proposal-optional-chaining": "^7.7.5", - "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-transform-regenerator": "^7.4.5", - "@babel/plugin-transform-runtime": "^7.6.0", "@babel/polyfill": "^7.4.4", "@babel/preset-env": "^7.4.4", "@rollup/plugin-commonjs": "^11.0.0", @@ -104,6 +102,7 @@ "typescript": "^3.7.3" }, "devDependencies": { + "@babel/plugin-transform-runtime": "^7.6.0", "@types/eslint": "^6.1.2", "@types/fs-extra": "^8.0.0", "@types/node": "^13.1.0", diff --git a/yarn.lock b/yarn.lock index 534317ae6..0238d253b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -339,7 +339,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-syntax-dynamic-import@^7.2.0", "@babel/plugin-syntax-dynamic-import@^7.7.4": +"@babel/plugin-syntax-dynamic-import@^7.7.4": version "7.7.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.7.4.tgz#29ca3b4415abfe4a5ec381e903862ad1a54c3aec" integrity sha512-jHQW0vbRGvwQNgyVxwDh4yuXu4bH1f5/EICJLAhl1SblLs2CDhrsmCk+v5XLdE9wxtAFRyxx+P//Iw+a5L/tTg==