Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

fix(webv2): restore the launchpad/editor shared chunk entry

Lincoln Stein67ea4d57a01f
diff --git a/invokeai/frontend/webv2/performance/architecture-baseline.json b/invokeai/frontend/webv2/performance/architecture-baseline.json
index abcd01eb3c..2844a578f8 100644
--- a/invokeai/frontend/webv2/performance/architecture-baseline.json
+++ b/invokeai/frontend/webv2/performance/architecture-baseline.json
@@ -2,12 +2,12 @@
"build": {
"launchpad": {
"baseline": {
- "brotliBytes": 826868,
+ "brotliBytes": 827351,
"cssRawBytes": 2159,
"fontRawBytes": 219480,
- "gzipBytes": 826468,
+ "gzipBytes": 825814,
"imageRawBytes": 156376,
- "initialRawBytes": 1920562,
+ "initialRawBytes": 1921492,
"largestAssetRawBytes": 746170,
"otherAssetRawBytes": 0,
"ownedRawBytes": 66295,
@@ -274,12 +274,12 @@
]
},
"limits": {
- "brotliBytes": 835137,
+ "brotliBytes": 835625,
"cssRawBytes": 2181,
"fontRawBytes": 221675,
- "gzipBytes": 834733,
+ "gzipBytes": 834073,
"imageRawBytes": 157940,
- "initialRawBytes": 1939768,
+ "initialRawBytes": 1940707,
"largestAssetRawBytes": 753632,
"otherAssetRawBytes": 0,
"ownedRawBytes": 66295,
@@ -292,15 +292,15 @@
},
"editor": {
"baseline": {
- "brotliBytes": 1009800,
+ "brotliBytes": 1011265,
"cssRawBytes": 2159,
"fontRawBytes": 219480,
- "gzipBytes": 1007220,
+ "gzipBytes": 1006842,
"imageRawBytes": 156376,
- "initialRawBytes": 2473503,
+ "initialRawBytes": 2477671,
"largestAssetRawBytes": 746170,
"otherAssetRawBytes": 0,
- "ownedRawBytes": 113633,
+ "ownedRawBytes": 113648,
"requestCount": 79,
"scriptRequestCount": 63,
"sourceOwners": [
@@ -798,15 +798,15 @@
]
},
"limits": {
- "brotliBytes": 1019898,
+ "brotliBytes": 1021378,
"cssRawBytes": 2181,
"fontRawBytes": 221675,
- "gzipBytes": 1017293,
+ "gzipBytes": 1016911,
"imageRawBytes": 157940,
- "initialRawBytes": 2498239,
+ "initialRawBytes": 2502448,
"largestAssetRawBytes": 753632,
"otherAssetRawBytes": 0,
- "ownedRawBytes": 113633,
+ "ownedRawBytes": 113648,
"requestCount": 79,
"scriptRequestCount": 63
},
@@ -815,7 +815,7 @@
"source": "src/app/WorkbenchApp.tsx"
}
},
- "capturedAt": "2026-08-07",
+ "capturedAt": "2026-08-08",
"developmentInvalidation": {
"platformUiBarrel": {
"specifier": "@platform/ui",
diff --git a/invokeai/frontend/webv2/performance/browser-baseline.json b/invokeai/frontend/webv2/performance/browser-baseline.json
index 7dacdf9d4d..4cf4518639 100644
--- a/invokeai/frontend/webv2/performance/browser-baseline.json
+++ b/invokeai/frontend/webv2/performance/browser-baseline.json
@@ -1345,6 +1345,7 @@
"source:src/features/workflow/ui/editor/workflowViewportStore.ts",
"source:src/features/workflow/ui/fields/FieldDescriptionPopover.tsx",
"source:src/features/workflow/ui/fields/WorkflowFieldInput.tsx",
+ "source:src/features/workflow/ui/fields/mediaFieldDnd.ts",
"source:src/features/workflow/ui/graph-preview/FlowMiniMap.tsx",
"source:src/features/workflow/ui/graph-preview/GraphPreviewDialog.tsx",
"source:src/features/workflow/ui/graph-preview/GraphPreviewFlow.tsx",
@@ -2262,6 +2263,7 @@
"source:src/features/workflow/ui/editor/workflowViewportStore.ts",
"source:src/features/workflow/ui/fields/FieldDescriptionPopover.tsx",
"source:src/features/workflow/ui/fields/WorkflowFieldInput.tsx",
+ "source:src/features/workflow/ui/fields/mediaFieldDnd.ts",
"source:src/features/workflow/ui/graph-preview/FlowMiniMap.tsx",
"source:src/features/workflow/ui/graph-preview/GraphPreviewDialog.tsx",
"source:src/features/workflow/ui/graph-preview/GraphPreviewFlow.tsx",
diff --git a/invokeai/frontend/webv2/vite.config.mts b/invokeai/frontend/webv2/vite.config.mts
index e73ddf41ac..0ef51316ba 100644
--- a/invokeai/frontend/webv2/vite.config.mts
+++ b/invokeai/frontend/webv2/vite.config.mts
@@ -34,6 +34,10 @@ const ROUTE_SHARED_MODULES = [
'/workbench/components/WorkbenchSplashScreen.tsx',
'/workbench/hotkeys/catalog.ts',
'/workbench/launchpad/formatRelativeTime.ts',
+ // The Launchpad writes `?intent=` and the editor's session controller reads
+ // it. Without this the editor pulls the whole Launchpad chunk for a lookup
+ // table — a 66 KB, one-extra-request regression on the editor route.
+ '/workbench/launchpad/intents.ts',
'/workbench/palette/settingsEntryDeps.ts',
'/workbench/projects/covers.ts',
'/workbench/projects/ids.ts',
@@ -154,13 +158,6 @@ export default defineConfig({
priority: 30,
test: (id) => matchesAnySuffix(id, WORKBENCH_TOPBAR_MODULES),
},
- {
- // Plotly is large (~1MB min) and only used by the lazy-loaded
- // Image Map plot; keep it out of the eager vendor chunk.
- name: 'plotly',
- priority: 30,
- test: (id) => id.includes('plotly') && id.includes('node_modules'),
- },
{
name: getLegacyChunkName,
},