From 2bb8aad47e3c8942bb63e65c894421525c05f7a4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 16 Nov 2023 19:29:54 +0000 Subject: [PATCH] Update the babel require (#935) Signed-off-by: bowenlan-amzn (cherry picked from commit 669ac54ef32139603c2496882a68101b5aa77c5a) Signed-off-by: github-actions[bot] --- babel.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }], ], };