Skip to content

Commit

Permalink
Refactor: remove @babel/plugin-proposal-class-properties dep
Browse files Browse the repository at this point in the history
  • Loading branch information
wellyshen committed Apr 18, 2021
1 parent 8db35ff commit 59f5925
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 1 addition & 5 deletions babel.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@
"@babel/typescript",
"@babel/react"
],
"plugins": [
"@loadable/babel-plugin",
"@babel/proposal-class-properties",
"@babel/plugin-transform-runtime"
],
"plugins": ["@loadable/babel-plugin", "@babel/plugin-transform-runtime"],
"env": {
"development": {
"plugins": ["react-refresh/babel"]
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
"last 2 versions"
],
"dependencies": {
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.12.7",
"@babel/preset-react": "^7.12.7",
"@babel/preset-typescript": "^7.12.7",
Expand Down

0 comments on commit 59f5925

Please sign in to comment.