mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 10:59:53 +00:00
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:
@@ -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:",
|
||||
|
||||
@@ -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')) {
|
||||
|
||||
Reference in New Issue
Block a user