Skip to content

Commit ffaec8e

Browse files
committed
remove unused plugins in babel
1 parent f4965fa commit ffaec8e

File tree

3 files changed

+1
-13
lines changed

3 files changed

+1
-13
lines changed

babel.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ module.exports = {
1212
'@babel/typescript',
1313
],
1414
plugins: [
15-
'@babel/plugin-proposal-object-rest-spread',
1615
'@babel/plugin-transform-runtime',
17-
'@babel/plugin-proposal-class-properties',
1816
],
1917
};

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@
6464
"devDependencies": {
6565
"@babel/cli": "^7.17.6",
6666
"@babel/core": "^7.17.9",
67-
"@babel/plugin-proposal-class-properties": "^7.16.7",
6867
"@babel/plugin-transform-runtime": "^7.17.0",
69-
"@babel/polyfill": "^7.12.1",
7068
"@babel/preset-env": "^7.16.11",
7169
"@babel/preset-react": "^7.16.7",
7270
"@babel/preset-typescript": "^7.16.7",

yarn.lock

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,14 +1245,6 @@
12451245
"@babel/helper-create-regexp-features-plugin" "^7.16.7"
12461246
"@babel/helper-plugin-utils" "^7.16.7"
12471247

1248-
"@babel/polyfill@^7.12.1":
1249-
version "7.12.1"
1250-
resolved "https://registry.yarnpkg.com/@babel/polyfill/-/polyfill-7.12.1.tgz#1f2d6371d1261bbd961f3c5d5909150e12d0bd96"
1251-
integrity sha512-X0pi0V6gxLi6lFZpGmeNa4zxtwEmCs42isWLNjZZDE0Y8yVfgu0T2OAHlzBbdYlqbW/YXVvoBHpATEM+goCj8g==
1252-
dependencies:
1253-
core-js "^2.6.5"
1254-
regenerator-runtime "^0.13.4"
1255-
12561248
"@babel/preset-env@^7.12.11", "@babel/preset-env@^7.16.11":
12571249
version "7.16.11"
12581250
resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.16.11.tgz#5dd88fd885fae36f88fd7c8342475c9f0abe2982"
@@ -5606,7 +5598,7 @@ core-js-pure@^3.20.2, core-js-pure@^3.8.1, core-js-pure@^3.8.2:
56065598
resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.22.2.tgz#c10bffdc3028d25c2aae505819a05543db61544f"
56075599
integrity sha512-Lb+/XT4WC4PaCWWtZpNPaXmjiNDUe5CJuUtbkMrIM1kb1T/jJoAIp+bkVP/r5lHzMr+ZAAF8XHp7+my6Ol0ysQ==
56085600

5609-
core-js@^2.0.0, core-js@^2.4.0, core-js@^2.6.5:
5601+
core-js@^2.0.0, core-js@^2.4.0:
56105602
version "2.6.5"
56115603
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.5.tgz#44bc8d249e7fb2ff5d00e0341a7ffb94fbf67895"
56125604
integrity sha512-klh/kDpwX8hryYL14M9w/xei6vrv6sE8gTHDG7/T/+SEovB/G4ejwcfE/CBzO6Edsu+OETZMZ3wcX/EjUkrl5A==

0 commit comments

Comments
 (0)