From c6dbfb1347d2fd231d90b401a07a00cdab4aece0 Mon Sep 17 00:00:00 2001 From: SuZhou-Joe Date: Mon, 20 Nov 2023 15:09:23 +0800 Subject: [PATCH] feat: update babel.config.ts Signed-off-by: SuZhou-Joe --- babel.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/babel.config.js b/babel.config.js index a0f8a3ad..3805f7cf 100644 --- a/babel.config.js +++ b/babel.config.js @@ -16,8 +16,8 @@ module.exports = function (api) { ], 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 }], ], };