Skip to content

Commit

Permalink
Allow using the nullish coalescing operator.
Browse files Browse the repository at this point in the history
  • Loading branch information
mstange committed Feb 2, 2021
1 parent ce76210 commit 2194350
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// obeys the spec more, but we get a bundle that's 8kB larger. That was the
// default in babel v6.
["@babel/plugin-proposal-class-properties", { loose: true }],
["@babel/plugin-proposal-nullish-coalescing-operator", { useBuiltIns: true }],
["@babel/plugin-proposal-object-rest-spread", { useBuiltIns: true }],
["module-resolver", {
"alias": {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.12.11",
Expand Down

0 comments on commit 2194350

Please sign in to comment.