chore(deps): align frontend toolchain on vite 7 and split admin bundle

Upgrade admin-web and desktop-client onto Vite 7 / Vitest 4 with the
matching @vitejs/plugin-vue 6 and electron-vite 5, and introduce
manualChunks plus gzip/brotli compression so the admin bundle ships
in smaller, route-aware pieces. ANALYZE=true emits a treemap via
rollup-plugin-visualizer; the generated stats.html is gitignored.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-27 00:56:33 +08:00
parent 53bebb46be
commit 7b05974ca4
5 changed files with 552 additions and 339 deletions
+1
View File
@@ -19,3 +19,4 @@ apps/*/firefox-mv*/
.playwright-cli/*
*.log
*.tmp
apps/*/stats.html