Skip to content

Commit 485e04b

Browse files
authored
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 bfc0590 to support `@wessberg/rollup-plugin-ts` but were not rolled back when that was rolled back in 3989277
1 parent dbdaba1 commit 485e04b

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@
4646
"@babel/plugin-proposal-class-properties": "^7.4.4",
4747
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.7.4",
4848
"@babel/plugin-proposal-optional-chaining": "^7.7.5",
49-
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
5049
"@babel/plugin-transform-regenerator": "^7.4.5",
51-
"@babel/plugin-transform-runtime": "^7.6.0",
5250
"@babel/polyfill": "^7.4.4",
5351
"@babel/preset-env": "^7.4.4",
5452
"@rollup/plugin-commonjs": "^11.0.0",
@@ -104,6 +102,7 @@
104102
"typescript": "^3.7.3"
105103
},
106104
"devDependencies": {
105+
"@babel/plugin-transform-runtime": "^7.6.0",
107106
"@types/eslint": "^6.1.2",
108107
"@types/fs-extra": "^8.0.0",
109108
"@types/node": "^13.1.0",

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
dependencies:
340340
"@babel/helper-plugin-utils" "^7.8.3"
341341

342-
"@babel/plugin-syntax-dynamic-import@^7.2.0", "@babel/plugin-syntax-dynamic-import@^7.7.4":
342+
"@babel/plugin-syntax-dynamic-import@^7.7.4":
343343
version "7.7.4"
344344
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.7.4.tgz#29ca3b4415abfe4a5ec381e903862ad1a54c3aec"
345345
integrity sha512-jHQW0vbRGvwQNgyVxwDh4yuXu4bH1f5/EICJLAhl1SblLs2CDhrsmCk+v5XLdE9wxtAFRyxx+P//Iw+a5L/tTg==

0 commit comments

Comments
 (0)