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:
@@ -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