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}], ];