From af61364a5263e0c5c01007b78a7531dcb452648b Mon Sep 17 00:00:00 2001 From: Christian Schmidt Date: Sat, 5 Oct 2024 19:16:34 +0200 Subject: [PATCH] Add transform-logical-assignment-operators --- babel.config.js | 1 + package.json | 1 + yarn.lock | 1 + 3 files changed, 3 insertions(+) diff --git a/babel.config.js b/babel.config.js index 4c2fe5682b..4d3d6fab48 100644 --- a/babel.config.js +++ b/babel.config.js @@ -13,6 +13,7 @@ module.exports = (api) => { include: [ 'transform-numeric-separator', 'transform-optional-chaining', + 'transform-logical-assignment-operators', 'transform-nullish-coalescing-operator', 'transform-class-properties', ], diff --git a/package.json b/package.json index 7a6dee1311..8ebd1acf48 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "private": true, "dependencies": { "@babel/core": "^7.22.1", + "@babel/plugin-transform-logical-assignment-operators": "^7.25.7", "@babel/plugin-transform-nullish-coalescing-operator": "^7.22.3", "@babel/plugin-transform-react-inline-elements": "^7.21.0", "@babel/plugin-transform-runtime": "^7.22.4", diff --git a/yarn.lock b/yarn.lock index 9aeb2b02a8..2ea2a674c5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2789,6 +2789,7 @@ __metadata: resolution: "@mastodon/mastodon@workspace:." dependencies: "@babel/core": "npm:^7.22.1" + "@babel/plugin-transform-logical-assignment-operators": "npm:^7.25.7" "@babel/plugin-transform-nullish-coalescing-operator": "npm:^7.22.3" "@babel/plugin-transform-react-inline-elements": "npm:^7.21.0" "@babel/plugin-transform-runtime": "npm:^7.22.4"