Skip to content

Commit 1d5a882

Browse files
committed
🔧 chore: remove unused Babel plugins for class properties and decorators from package.json and vite.config.ts to streamline configuration and reduce dependencies.
1 parent 3f8dad8 commit 1d5a882

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@
5656
"zustand": "^5.0.9"
5757
},
5858
"devDependencies": {
59-
"@babel/plugin-proposal-class-properties": "^7.18.6",
60-
"@babel/plugin-proposal-decorators": "^7.28.0",
6159
"@biomejs/biome": "^2.3.10",
6260
"@flowgram.ai/ts-config": "^1.0.6",
6361
"@iconify/json": "^2.2.419",

vite.config.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ export default defineConfig(({ mode }) => {
1818
plugins: [
1919
// React 编译器插件
2020
['babel-plugin-react-compiler'],
21-
// 装饰器插件
22-
['@babel/plugin-proposal-decorators', { legacy: true }],
23-
// 类属性插件
24-
['@babel/plugin-proposal-class-properties', { loose: true }],
2521
],
2622
},
2723
}),

0 commit comments

Comments
 (0)