From 27d424aace0fb873d6aeb9ba027925c77ffbfc42 Mon Sep 17 00:00:00 2001 From: zhenghaole <89932980@qq.com> Date: Sun, 28 Apr 2024 19:20:02 +0800 Subject: [PATCH] =?UTF-8?q?updated=20=E6=9E=84=E5=BB=BA=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- babel.config.js | 9 +-------- package-lock.json | 1 - package.json | 1 - 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/babel.config.js b/babel.config.js index 8d5aa84..870b5dc 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,13 +1,6 @@ module.exports = { presets: ['@babel/preset-env'], plugins: [ - '@babel/plugin-transform-runtime', - '@babel/plugin-transform-class-properties', - [ - '@babel/plugin-syntax-import-attributes', - { - deprecatedAssertSyntax: true - } - ] + '@babel/plugin-transform-runtime' ] } diff --git a/package-lock.json b/package-lock.json index 6ca22b9..36de457 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,6 @@ "license": "MIT", "devDependencies": { "@babel/core": "^7.24.4", - "@babel/plugin-syntax-import-attributes": "^7.24.1", "@babel/plugin-transform-runtime": "^7.24.3", "@babel/preset-env": "^7.24.4", "@babel/runtime": "^7.24.4", diff --git a/package.json b/package.json index 1d39b61..c8bd9af 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,6 @@ }, "devDependencies": { "@babel/core": "^7.24.4", - "@babel/plugin-syntax-import-attributes": "^7.24.1", "@babel/plugin-transform-runtime": "^7.24.3", "@babel/preset-env": "^7.24.4", "@babel/runtime": "^7.24.4",