前端构建告警清理:happy-dom 替代 jsdom、批准 esbuild 安装脚本、CodeMirror 与重路由懒加载分包

This commit is contained in:
2026-09-08 17:01:36 +08:00
parent edfc787e1a
commit 27ec9badf2
6 changed files with 129 additions and 498 deletions
+5 -2
View File
@@ -31,11 +31,14 @@
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
"@vitejs/plugin-react": "^5.0.0",
"happy-dom": "^20.14.0",
"highlight.js": "^11.11.1",
"tailwindcss": "^4.3.3",
"typescript": "^5.9.2",
"vite": "^8.2.2",
"vitest": "^3.2.4",
"jsdom": "^26.1.0"
"vitest": "^3.2.4"
},
"allowScripts": {
"esbuild@0.28.2": true
}
}