diff --git a/babel.config.js b/babel.config.js index 1d9ebbecf..f8498b5fe 100644 --- a/babel.config.js +++ b/babel.config.js @@ -12,8 +12,8 @@ module.exports = function (api) { presets: [require("@babel/preset-env"), require("@babel/preset-react"), require("@babel/preset-typescript")], plugins: [ [require("@babel/plugin-transform-runtime"), { regenerator: true }], - require("@babel/plugin-proposal-class-properties"), - require("@babel/plugin-proposal-object-rest-spread"), + require("@babel/plugin-transform-class-properties"), + require("@babel/plugin-transform-object-rest-spread"), [require("@babel/plugin-transform-modules-commonjs"), { allowTopLevelThis: true }], ], };