Skip to content

Commit 2873ff3

Browse files
committed
Remove obsolete.
1 parent 2c560fd commit 2873ff3

File tree

3 files changed

+1
-44
lines changed

3 files changed

+1
-44
lines changed

babel.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@ const isTest = process.env.NODE_ENV === "test"
33

44
module.exports = {
55
presets: [
6-
["@babel/env", { loose: true, modules: isES6 ? false : "commonjs" }],
6+
["@babel/env", { loose: false, modules: isES6 ? false : "commonjs" }],
77
"@babel/preset-react",
88
],
99
plugins: [
1010
["styled-components", { ssr: !isTest, displayName: !isTest }],
11-
"@babel/plugin-transform-spread",
12-
"@babel/plugin-proposal-object-rest-spread",
1311
[
1412
"module-resolver",
1513
{

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@
4242
"@babel/cli": "^7.26.4",
4343
"@babel/core": "^7.26.10",
4444
"@babel/eslint-parser": "^7.26.10",
45-
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
46-
"@babel/plugin-transform-modules-umd": "^7.25.9",
4745
"@babel/plugin-transform-runtime": "^7.26.10",
4846
"@babel/preset-env": "^7.26.9",
4947
"@babel/preset-react": "^7.26.3",

yarn.lock

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,6 @@
106106
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.19.1.tgz#72d647b4ff6a4f82878d184613353af1dd0290f9"
107107
integrity sha512-72a9ghR0gnESIa7jBN53U32FOVCEoztyIlKaNoU05zRhEecduGK9L9c3ww7Mp06JiR+0ls0GBPFJQwwtjn9ksg==
108108

109-
"@babel/compat-data@^7.20.5":
110-
version "7.20.10"
111-
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.20.10.tgz#9d92fa81b87542fff50e848ed585b4212c1d34ec"
112-
integrity sha512-sEnuDPpOJR/fcafHMjpcpGN5M2jbUGUHwmuWKM/YdPzeEDJg8bgmbcWQFUfE32MQjti1koACvoPVsDe8Uq+idg==
113-
114109
"@babel/compat-data@^7.22.6", "@babel/compat-data@^7.22.9":
115110
version "7.22.9"
116111
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.22.9.tgz#71cdb00a1ce3a329ce4cbec3a44f9fef35669730"
@@ -354,17 +349,6 @@
354349
browserslist "^4.21.3"
355350
semver "^6.3.0"
356351

357-
"@babel/helper-compilation-targets@^7.20.7":
358-
version "7.20.7"
359-
resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.7.tgz#a6cd33e93629f5eb473b021aac05df62c4cd09bb"
360-
integrity sha512-4tGORmfQcrc+bvrjb5y3dG9Mx1IOZjsHqQVUz7XCNHO+iTmqxWnVg3KRygjGmpRLJGdQSKuvFinbIb0CnZwHAQ==
361-
dependencies:
362-
"@babel/compat-data" "^7.20.5"
363-
"@babel/helper-validator-option" "^7.18.6"
364-
browserslist "^4.21.3"
365-
lru-cache "^5.1.1"
366-
semver "^6.3.0"
367-
368352
"@babel/helper-compilation-targets@^7.22.6":
369353
version "7.22.9"
370354
resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.9.tgz#f9d0a7aaaa7cd32a3f31c9316a69f5a9bcacb892"
@@ -658,11 +642,6 @@
658642
resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz#4796bb14961521f0f8715990bee2fb6e51ce21bf"
659643
integrity sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw==
660644

661-
"@babel/helper-plugin-utils@^7.20.2":
662-
version "7.20.2"
663-
resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz#d1b9000752b18d0877cff85a5c376ce5c3121629"
664-
integrity sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ==
665-
666645
"@babel/helper-plugin-utils@^7.22.5":
667646
version "7.22.5"
668647
resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz#dd7ee3735e8a313b9f7b05a773d892e88e6d7295"
@@ -1021,17 +1000,6 @@
10211000
"@babel/helper-plugin-utils" "^7.25.9"
10221001
"@babel/traverse" "^7.25.9"
10231002

1024-
"@babel/plugin-proposal-object-rest-spread@^7.20.7":
1025-
version "7.20.7"
1026-
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.20.7.tgz#aa662940ef425779c75534a5c41e9d936edc390a"
1027-
integrity sha512-d2S98yCiLxDVmBmE8UjGcfPvNEUbA1U5q5WxaWFUGRzJSVAZqm5W6MbPct0jxnegUZ0niLeNX+IOzEs7wYg9Dg==
1028-
dependencies:
1029-
"@babel/compat-data" "^7.20.5"
1030-
"@babel/helper-compilation-targets" "^7.20.7"
1031-
"@babel/helper-plugin-utils" "^7.20.2"
1032-
"@babel/plugin-syntax-object-rest-spread" "^7.8.3"
1033-
"@babel/plugin-transform-parameters" "^7.20.7"
1034-
10351003
"@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2":
10361004
version "7.21.0-placeholder-for-preset-env.2"
10371005
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0-placeholder-for-preset-env.2.tgz#7844f9289546efa9febac2de4cfe358a050bd703"
@@ -1437,13 +1405,6 @@
14371405
"@babel/helper-plugin-utils" "^7.25.9"
14381406
"@babel/helper-skip-transparent-expression-wrappers" "^7.25.9"
14391407

1440-
"@babel/plugin-transform-parameters@^7.20.7":
1441-
version "7.20.7"
1442-
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.20.7.tgz#0ee349e9d1bc96e78e3b37a7af423a4078a7083f"
1443-
integrity sha512-WiWBIkeHKVOSYPO0pWkxGPfKeWrCJyD3NJ53+Lrp/QMSZbsVPovrVl2aWZ19D/LTVnaDv5Ap7GJ/B2CTOZdrfA==
1444-
dependencies:
1445-
"@babel/helper-plugin-utils" "^7.20.2"
1446-
14471408
"@babel/plugin-transform-parameters@^7.25.9":
14481409
version "7.25.9"
14491410
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.25.9.tgz#b856842205b3e77e18b7a7a1b94958069c7ba257"

0 commit comments

Comments
 (0)