From 88ab8147bb3dda95bbdca86d59dc7d0b92f1d67a Mon Sep 17 00:00:00 2001 From: Chunpeng Huo Date: Wed, 23 Oct 2024 12:34:50 +1000 Subject: [PATCH] chore: update babel config --- babel/babel.config.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/babel/babel.config.json b/babel/babel.config.json index 5eb062b..5628c66 100644 --- a/babel/babel.config.json +++ b/babel/babel.config.json @@ -10,6 +10,8 @@ ], "plugins": [ ["@babel/plugin-proposal-decorators", { "version": "2023-11" }], + "@babel/plugin-transform-class-static-block", + ["@babel/plugin-transform-class-properties", { "loose": true }], "@babel/plugin-syntax-dynamic-import" ] }