Skip to content

Commit

Permalink
fix: add plugin for ?? operator #202
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeysova committed Jun 28, 2022
1 parent 27badee commit e705d14
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ module.exports = {
'index',
],
'effector/babel-plugin',
'@babel/plugin-proposal-nullish-coalescing-operator',
],
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.13.10",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/preset-env": "^7.10.2",
"@babel/preset-typescript": "^7.10.1",
"@commitlint/cli": "8.2.0",
Expand Down
20 changes: 20 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,13 @@ __metadata:
languageName: node
linkType: hard

"@babel/helper-plugin-utils@npm:^7.18.6":
version: 7.18.6
resolution: "@babel/helper-plugin-utils@npm:7.18.6"
checksum: 3dbfceb6c10fdf6c78a0e57f24e991ff8967b8a0bd45fe0314fb4a8ccf7c8ad4c3778c319a32286e7b1f63d507173df56b4e69fb31b71e1b447a73efa1ca723e
languageName: node
linkType: hard

"@babel/helper-remap-async-to-generator@npm:^7.14.5, @babel/helper-remap-async-to-generator@npm:^7.15.4":
version: 7.15.4
resolution: "@babel/helper-remap-async-to-generator@npm:7.15.4"
Expand Down Expand Up @@ -1172,6 +1179,18 @@ __metadata:
languageName: node
linkType: hard

"@babel/plugin-proposal-nullish-coalescing-operator@npm:^7.18.6":
version: 7.18.6
resolution: "@babel/plugin-proposal-nullish-coalescing-operator@npm:7.18.6"
dependencies:
"@babel/helper-plugin-utils": ^7.18.6
"@babel/plugin-syntax-nullish-coalescing-operator": ^7.8.3
peerDependencies:
"@babel/core": ^7.0.0-0
checksum: 949c9ddcdecdaec766ee610ef98f965f928ccc0361dd87cf9f88cf4896a6ccd62fce063d4494778e50da99dea63d270a1be574a62d6ab81cbe9d85884bf55a7d
languageName: node
linkType: hard

"@babel/plugin-proposal-numeric-separator@npm:^7.14.5":
version: 7.14.5
resolution: "@babel/plugin-proposal-numeric-separator@npm:7.14.5"
Expand Down Expand Up @@ -14371,6 +14390,7 @@ __metadata:
dependencies:
"@babel/cli": ^7.15.7
"@babel/core": ^7.13.10
"@babel/plugin-proposal-nullish-coalescing-operator": ^7.18.6
"@babel/preset-env": ^7.10.2
"@babel/preset-typescript": ^7.10.1
"@commitlint/cli": 8.2.0
Expand Down

0 comments on commit e705d14

Please sign in to comment.