diff --git a/babel.config.js b/babel.config.js index e8d12eef..f1b4677f 100644 --- a/babel.config.js +++ b/babel.config.js @@ -27,5 +27,6 @@ module.exports = { 'index', ], 'effector/babel-plugin', + '@babel/plugin-proposal-nullish-coalescing-operator', ], }; diff --git a/package.json b/package.json index fdf6778d..4eb3648c 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/yarn.lock b/yarn.lock index db89a1ef..e9d24e79 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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" @@ -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" @@ -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