Skip to content

Commit

Permalink
enable @babel/plugin-proposal-class-properties
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Jul 11, 2021
1 parent f2588ce commit 858461e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions babel.config.js
Expand Up @@ -2,6 +2,7 @@
module.exports = {
// use transforms which does not use ES5+ builtins
plugins: [
['@babel/proposal-class-properties'],
['@babel/proposal-logical-assignment-operators'],
['@babel/proposal-nullish-coalescing-operator'],
['@babel/proposal-numeric-separator'],
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -3,6 +3,7 @@
"devDependencies": {
"@babel/cli": "^7.14.5",
"@babel/core": "^7.14.6",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-logical-assignment-operators": "^7.14.5",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
"@babel/plugin-proposal-numeric-separator": "^7.14.5",
Expand Down

0 comments on commit 858461e

Please sign in to comment.