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:
@@ -6,6 +6,7 @@
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vue-tsc --noEmit && vite build",
|
||||
"build:analyze": "vue-tsc --noEmit && ANALYZE=true vite build",
|
||||
"preview": "vite preview",
|
||||
"typecheck": "vue-tsc --noEmit"
|
||||
},
|
||||
@@ -18,13 +19,13 @@
|
||||
"@milkdown/kit": "^7.20.0",
|
||||
"@milkdown/theme-nord": "^7.20.0",
|
||||
"@milkdown/vue": "^7.20.0",
|
||||
"nanoid": "^5.1.7",
|
||||
"@tanstack/vue-query": "^5.96.0",
|
||||
"@vueuse/core": "^14.2.1",
|
||||
"ant-design-vue": "^4.2.6",
|
||||
"dayjs": "^1.11.20",
|
||||
"dompurify": "^3.3.3",
|
||||
"markdown-it": "^14.1.1",
|
||||
"nanoid": "^5.1.7",
|
||||
"pinia": "^3.0.4",
|
||||
"vue": "^3.5.31",
|
||||
"vue-i18n": "^10.0.5",
|
||||
@@ -35,8 +36,10 @@
|
||||
"@types/markdown-it": "^14.1.2",
|
||||
"@types/node": "^24.0.0",
|
||||
"@vitejs/plugin-vue": "^6.0.5",
|
||||
"rollup-plugin-visualizer": "^7.0.1",
|
||||
"typescript": "^5.9.3",
|
||||
"vite": "^8.0.3",
|
||||
"vite": "^7.3.2",
|
||||
"vite-plugin-compression2": "^2.5.3",
|
||||
"vue-tsc": "^3.2.6"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user