Skip to content

Commit f974cdf

Browse files
Remove unnecessary babel plugin
1 parent b9eb0cd commit f974cdf

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

.babelrc

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
{
22
"presets": [
3-
"@babel/preset-env",
3+
[
4+
"@babel/preset-env",
5+
{
6+
"shippedProposals": true
7+
}
8+
],
49
"@babel/preset-react"
510
],
611
"plugins": [
7-
"@babel/plugin-transform-runtime",
8-
"@babel/plugin-proposal-class-properties"
12+
"@babel/plugin-transform-runtime"
913
]
1014
}

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,12 @@
4040
"prop-types": "^15.7.2"
4141
},
4242
"devDependencies": {
43-
"@babel/cli": "^7.0.0",
44-
"@babel/core": "^7.12.3",
45-
"@babel/plugin-proposal-class-properties": "^7.12.1",
43+
"@babel/cli": "^7.12.8",
44+
"@babel/core": "^7.12.9",
4645
"@babel/plugin-transform-runtime": "^7.12.1",
47-
"@babel/preset-env": "^7.12.1",
48-
"@babel/preset-react": "^7.12.1",
49-
"@babel/register": "^7.0.0",
46+
"@babel/preset-env": "^7.12.7",
47+
"@babel/preset-react": "^7.12.7",
48+
"@babel/register": "^7.12.1",
5049
"@storybook/react": "^5.2.6",
5150
"autoprefixer": "^10.0.4",
5251
"babel-eslint": "^10.1.0",

0 commit comments

Comments
 (0)