Skip to content

Commit f94b571

Browse files
committed
Update babel plugins
1 parent c751c63 commit f94b571

File tree

3 files changed

+6
-43
lines changed

3 files changed

+6
-43
lines changed

.babelrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"presets": ["@babel/preset-env", "@babel/preset-react"],
33
"plugins": [
4-
"@babel/plugin-proposal-object-rest-spread",
4+
"@babel/plugin-transform-object-rest-spread",
55
"@babel/plugin-transform-runtime"
66
],
77
"env": {
88
"test": {
9-
"plugins": ["@babel/plugin-proposal-class-properties"]
9+
"plugins": ["@babel/plugin-transform-class-properties"]
1010
}
1111
}
1212
}

package-lock.json

Lines changed: 2 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
"license": "Apache-2.0",
3535
"devDependencies": {
3636
"@babel/core": "^7.15.0",
37-
"@babel/plugin-proposal-class-properties": "^7.14.5",
38-
"@babel/plugin-proposal-object-rest-spread": "^7.14.7",
37+
"@babel/plugin-transform-class-properties": "^7.24.1",
38+
"@babel/plugin-transform-object-rest-spread": "^7.24.1",
3939
"@babel/plugin-transform-runtime": "^7.15.0",
4040
"@babel/preset-env": "^7.15.0",
4141
"@babel/preset-react": "^7.14.5",

0 commit comments

Comments
 (0)