From a2ca17b212f451d2377c546f84b3c3c8ff56dca4 Mon Sep 17 00:00:00 2001 From: Sebastian Sebbie Silbermann Date: Tue, 26 May 2026 14:21:36 +0200 Subject: [PATCH 1/2] Stop transpiling computed property names --- babel.config.js | 1 - package.json | 1 - scripts/rollup/build.js | 1 - 3 files changed, 3 deletions(-) diff --git a/babel.config.js b/babel.config.js index f8a28b20cc87..53319be10456 100644 --- a/babel.config.js +++ b/babel.config.js @@ -16,7 +16,6 @@ module.exports = { '@babel/plugin-transform-block-scoped-functions', '@babel/plugin-transform-object-super', '@babel/plugin-transform-shorthand-properties', - '@babel/plugin-transform-computed-properties', '@babel/plugin-transform-for-of', ['@babel/plugin-transform-spread', {loose: true, useBuiltIns: true}], '@babel/plugin-transform-parameters', diff --git a/package.json b/package.json index b8c230a37132..c67ae862f5de 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,6 @@ "@babel/plugin-transform-block-scoping": "^7.11.1", "@babel/plugin-transform-class-properties": "^7.25.9", "@babel/plugin-transform-classes": "^7.10.4", - "@babel/plugin-transform-computed-properties": "^7.10.4", "@babel/plugin-transform-destructuring": "^7.10.4", "@babel/plugin-transform-for-of": "^7.10.4", "@babel/plugin-transform-literals": "^7.10.4", diff --git a/scripts/rollup/build.js b/scripts/rollup/build.js index 087c2e6a43b9..cde75fa02504 100644 --- a/scripts/rollup/build.js +++ b/scripts/rollup/build.js @@ -136,7 +136,6 @@ const babelToES5Plugins = [ '@babel/plugin-transform-arrow-functions', '@babel/plugin-transform-block-scoped-functions', '@babel/plugin-transform-shorthand-properties', - '@babel/plugin-transform-computed-properties', ['@babel/plugin-transform-block-scoping', {throwIfClosureRequired: true}], ]; From 6c39adf5bc4443e5b3d701faa8bd2a71fb2046dd Mon Sep 17 00:00:00 2001 From: Sebastian Sebbie Silbermann Date: Tue, 26 May 2026 15:29:21 +0200 Subject: [PATCH 2/2] Poke