From 651bf0b73b45edd37200d0603b17fe54fa659d4b Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Fri, 10 Jan 2025 09:26:16 +0100 Subject: [PATCH] Update babel plugin --- assets/admin/babel.config.json | 2 +- assets/admin/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/admin/babel.config.json b/assets/admin/babel.config.json index 8c3416c1..2f7c5445 100644 --- a/assets/admin/babel.config.json +++ b/assets/admin/babel.config.json @@ -6,7 +6,7 @@ "plugins": [ ["@babel/plugin-proposal-decorators", {"legacy": true}], "@babel/plugin-transform-flow-strip-types", - "@babel/plugin-proposal-class-properties" + "@babel/plugin-transform-class-properties" ], "assumptions": { "setPublicClassFields": true diff --git a/assets/admin/package.json b/assets/admin/package.json index db7890b9..4fbd5a17 100644 --- a/assets/admin/package.json +++ b/assets/admin/package.json @@ -31,8 +31,8 @@ }, "devDependencies": { "@babel/core": "^7.5.5", - "@babel/plugin-proposal-class-properties": "^7.16.5", "@babel/plugin-proposal-decorators": "^7.4.4", + "@babel/plugin-transform-class-properties": "^7.22.0", "@babel/plugin-transform-flow-strip-types": "^7.4.4", "@babel/preset-env": "^7.5.5", "@babel/preset-react": "^7.0.0",