Skip to content

Commit

Permalink
clean/deps: remove unused Babel plugins: transform-runtime, dynamic-i…
Browse files Browse the repository at this point in the history
…mport (#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
  • Loading branch information
agilgur5 authored Aug 25, 2020
1 parent dbdaba1 commit 485e04b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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==
Expand Down

1 comment on commit 485e04b

@vercel
Copy link

@vercel vercel bot commented on 485e04b Aug 25, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.