Stop transpiling computed property names (#36542)
Sebastian "Sebbie" Silbermann committed
May 26, 2026 at 21:48 UTC
cafd63bcf755ed163cfe07f3c685311233da5a9f
3 files changed
-3
babel.config.js
-1
@@ -16,7 +16,6 @@ module.exports = {
16
'@babel/plugin-transform-block-scoped-functions',
17
'@babel/plugin-transform-object-super',
18
'@babel/plugin-transform-shorthand-properties',
19
- '@babel/plugin-transform-computed-properties',
19
'@babel/plugin-transform-for-of',
20
['@babel/plugin-transform-spread', {loose: true, useBuiltIns: true}],
21
'@babel/plugin-transform-parameters',
package.json
-1
@@ -22,7 +22,6 @@
22
"@babel/plugin-transform-block-scoping": "^7.11.1",
23
"@babel/plugin-transform-class-properties": "^7.25.9",
24
"@babel/plugin-transform-classes": "^7.10.4",
25
- "@babel/plugin-transform-computed-properties": "^7.10.4",
25
"@babel/plugin-transform-destructuring": "^7.10.4",
26
"@babel/plugin-transform-for-of": "^7.10.4",
27
"@babel/plugin-transform-literals": "^7.10.4",
scripts/rollup/build.js
-1
@@ -136,7 +136,6 @@ const babelToES5Plugins = [
136
'@babel/plugin-transform-arrow-functions',
137
'@babel/plugin-transform-block-scoped-functions',
138
'@babel/plugin-transform-shorthand-properties',
139
- '@babel/plugin-transform-computed-properties',
139
['@babel/plugin-transform-block-scoping', {throwIfClosureRequired: true}],
140
];
141