From b155ea3522f1d3f451226fc98993bdb64aff6552 Mon Sep 17 00:00:00 2001 From: Chunpeng Huo Date: Wed, 23 Oct 2024 15:25:02 +1000 Subject: [PATCH] chore: update babel config --- common/babel.config.json__if_babel | 1 + 1 file changed, 1 insertion(+) diff --git a/common/babel.config.json__if_babel b/common/babel.config.json__if_babel index 246a545..0bb9efc 100644 --- a/common/babel.config.json__if_babel +++ b/common/babel.config.json__if_babel @@ -7,6 +7,7 @@ ], "plugins": [ ["@babel/plugin-proposal-decorators", { "version": "legacy" }], + "@babel/plugin-transform-class-static-block", ["@babel/plugin-transform-class-properties", { "loose": true }], "@babel/plugin-syntax-dynamic-import" ]