diff --git a/build-scripts/bundle.cjs b/build-scripts/bundle.cjs index c05ccdf9a9da..0fcea7bb1d24 100644 --- a/build-scripts/bundle.cjs +++ b/build-scripts/bundle.cjs @@ -143,7 +143,7 @@ module.exports.babelOptions = ({ latestBuild, isProdBuild, isTestBuild }) => ({ "@babel/plugin-proposal-decorators", { version: "2018-09", decoratorsBeforeExport: true }, ], - "@babel/plugin-proposal-class-properties", + "@babel/plugin-transform-class-properties", ].filter(Boolean), exclude: [ // \\ for Windows, / for Mac OS and Linux