From 6581d1cf7bcd51a378e50c1c5f3ae265f1c486e5 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Mon, 24 Jun 2024 16:23:21 +0800 Subject: [PATCH] fix(deps): remove dependency @babel/plugin-proposal-class-properties. This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead. https://www.npmjs.com/package/@babel/plugin-proposal-class-properties --- .babelrc | 4 +--- package.json | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.babelrc b/.babelrc index 4621dd1f..1a2c1d47 100644 --- a/.babelrc +++ b/.babelrc @@ -1,6 +1,4 @@ { "presets": ["@babel/preset-env", "@babel/preset-react"], - "plugins": [ - "@babel/plugin-proposal-class-properties" - ] + "plugins": [] } diff --git a/package.json b/package.json index 0140cdac..1a483c6d 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,6 @@ "devDependencies": { "@babel/cli": "7.24.7", "@babel/core": "7.24.7", - "@babel/plugin-proposal-class-properties": "7.18.6", "@babel/plugin-proposal-do-expressions": "7.24.7", "@babel/plugin-proposal-export-default-from": "7.24.7", "@babel/preset-env": "7.24.7",