mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 19:09:52 +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:browser": "pnpm exec nx e2e",
|
||||||
"test:unit": "nx run test",
|
"test:unit": "nx run test",
|
||||||
"typecheck": "vue-tsc --noEmit",
|
"typecheck": "vue-tsc --noEmit",
|
||||||
"zipdist": "node scripts/zipdist.js"
|
"zipdist": "node scripts/zipdist.js",
|
||||||
|
"clean": "nx reset"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/js": "catalog:",
|
"@eslint/js": "catalog:",
|
||||||
|
|||||||
@@ -209,7 +209,7 @@ export default defineConfig({
|
|||||||
? [
|
? [
|
||||||
visualizer({
|
visualizer({
|
||||||
filename: 'dist/stats.html',
|
filename: 'dist/stats.html',
|
||||||
open: false,
|
open: true,
|
||||||
gzipSize: true,
|
gzipSize: true,
|
||||||
brotliSize: true,
|
brotliSize: true,
|
||||||
template: 'treemap' // or 'sunburst', 'network'
|
template: 'treemap' // or 'sunburst', 'network'
|
||||||
@@ -242,8 +242,12 @@ export default defineConfig({
|
|||||||
return 'vendor-chart'
|
return 'vendor-chart'
|
||||||
}
|
}
|
||||||
|
|
||||||
if (id.includes('three') || id.includes('@xterm')) {
|
if (id.includes('three')) {
|
||||||
return 'vendor-visualization'
|
return 'vendor-three'
|
||||||
|
}
|
||||||
|
|
||||||
|
if (id.includes('@xterm')) {
|
||||||
|
return 'vendor-xterm'
|
||||||
}
|
}
|
||||||
|
|
||||||
if (id.includes('/vue') || id.includes('pinia')) {
|
if (id.includes('/vue') || id.includes('pinia')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user