build: remove deprecated babel plugin (#781)

This commit is contained in:
Trim21
2024-08-14 05:25:38 +08:00
committed by GitHub
parent 3ef7c7f19c
commit e40881c62e
3 changed files with 1 additions and 13 deletions

View File

@@ -4,9 +4,5 @@
"@babel/typescript",
["@babel/react", {"runtime": "automatic", "importSource": "@emotion/react"}]
],
"plugins": [
["@babel/plugin-proposal-decorators", {"legacy": true}],
["@babel/plugin-proposal-class-properties", {"loose": false}],
"@emotion/babel-plugin"
]
"plugins": [["@babel/plugin-proposal-decorators", {"legacy": true}], "@emotion/babel-plugin"]
}

View File

@@ -73,9 +73,7 @@
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/eslint-parser": "^7.22.5",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.22.5",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/preset-env": "^7.22.5",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",

6
pnpm-lock.yaml generated
View File

@@ -18,15 +18,9 @@ importers:
'@babel/eslint-parser':
specifier: ^7.22.5
version: 7.25.1(@babel/core@7.25.2)(eslint@8.57.0)
'@babel/plugin-proposal-class-properties':
specifier: ^7.18.6
version: 7.18.6(@babel/core@7.25.2)
'@babel/plugin-proposal-decorators':
specifier: ^7.22.5
version: 7.24.7(@babel/core@7.25.2)
'@babel/plugin-proposal-optional-chaining':
specifier: ^7.21.0
version: 7.21.0(@babel/core@7.25.2)
'@babel/preset-env':
specifier: ^7.22.5
version: 7.25.3(@babel/core@7.25.2)