perf: 优化依赖与首屏加载

This commit is contained in:
zhanjunhao
2026-10-28 11:37:15 +08:00
parent 8a7a3b45ff
commit 7b80c3bbb3
11 changed files with 541 additions and 504 deletions
+7 -3
View File
@@ -78,7 +78,6 @@
},
"devDependencies": {
"@douyinfe/vite-plugin-semi": "^2.74.0-alpha.6",
"@so1ve/prettier-config": "^3.1.0",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.21",
"eslint": "8.57.0",
@@ -90,12 +89,17 @@
"postcss": "^8.5.3",
"prettier": "^3.0.0",
"tailwindcss": "^3",
"vite": "5.1.0"
"vite": "5.4.21"
},
"proxy": "http://localhost:3000",
"engines": {
"node": ">=22.13.0",
"npm": ">=10"
},
"packageManager": "npm@10.9.9"
"packageManager": "npm@10.9.9",
"overrides": {
"@douyinfe/vite-plugin-semi": {
"vite": "$vite"
}
}
}