前端构建告警清理: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
+1 -1
View File
@@ -4,7 +4,7 @@ import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
test: {
environment: 'jsdom',
environment: 'happy-dom',
include: ['tests/**/*.test.?(c|m)[jt]s?(x)'],
},
})