chore: adjust manual chunks (#6368)

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-6368-chore-adjust-manual-chunks-29b6d73d36508185a1bcdc77d4fd7519)
by [Unito](https://www.unito.io)
This commit is contained in:
Rizumu Ayaka
2025-10-29 17:44:26 +09:00
committed by GitHub
parent 9651d2a5df
commit 8c1beee719
2 changed files with 9 additions and 4 deletions

View File

@@ -43,7 +43,8 @@
"test:browser": "pnpm exec nx e2e",
"test:unit": "nx run test",
"typecheck": "vue-tsc --noEmit",
"zipdist": "node scripts/zipdist.js"
"zipdist": "node scripts/zipdist.js",
"clean": "nx reset"
},
"devDependencies": {
"@eslint/js": "catalog:",

View File

@@ -209,7 +209,7 @@ export default defineConfig({
? [
visualizer({
filename: 'dist/stats.html',
open: false,
open: true,
gzipSize: true,
brotliSize: true,
template: 'treemap' // or 'sunburst', 'network'
@@ -242,8 +242,12 @@ export default defineConfig({
return 'vendor-chart'
}
if (id.includes('three') || id.includes('@xterm')) {
return 'vendor-visualization'
if (id.includes('three')) {
return 'vendor-three'
}
if (id.includes('@xterm')) {
return 'vendor-xterm'
}
if (id.includes('/vue') || id.includes('pinia')) {