From a36fa65f6e888b2b0c1a3fa221acfec3643546e7 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 9 Dec 2020 18:29:55 -0800 Subject: [PATCH] .babelrc: Remove redundant Babel plugins. Signed-off-by: Anders Kaseorg --- .babelrc | 11 +---------- package-lock.json | 9 --------- package.json | 2 -- 3 files changed, 1 insertion(+), 21 deletions(-) diff --git a/.babelrc b/.babelrc index 753cc38..2fdda15 100644 --- a/.babelrc +++ b/.babelrc @@ -1,13 +1,4 @@ { "presets": ["@babel/preset-env"], - "plugins": [ - "@babel/plugin-transform-destructuring", - "@babel/plugin-transform-instanceof", - [ - "@babel/plugin-transform-runtime", - { - "regenerator": true - } - ] - ] + "plugins": ["@babel/plugin-transform-runtime"] } diff --git a/package-lock.json b/package-lock.json index 2d7f89f..f02e97e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -704,15 +704,6 @@ "@babel/helper-plugin-utils": "^7.10.4" } }, - "@babel/plugin-transform-instanceof": { - "version": "7.12.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-instanceof/-/plugin-transform-instanceof-7.12.1.tgz", - "integrity": "sha512-3sq5iK6kcvYm56NUVEo623eXmSgTT6rUEqrySOtC4IQ+pWAVtPRTkCirXoRhxHxjOdH8wg9L8mftmzUFaHtfAQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.10.4" - } - }, "@babel/plugin-transform-literals": { "version": "7.12.1", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.12.1.tgz", diff --git a/package.json b/package.json index ccb51af..b6cb3f3 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,6 @@ "devDependencies": { "@babel/cli": "^7.12.10", "@babel/core": "^7.12.10", - "@babel/plugin-transform-destructuring": "^7.12.1", - "@babel/plugin-transform-instanceof": "^7.12.1", "@babel/plugin-transform-runtime": "^7.12.10", "@babel/preset-env": "^7.12.10", "chai": "^4.2.0",