mirror of
https://github.com/Egonex-AI/Understand-Anything.git
synced 2026-06-22 10:58:03 +08:00
Split the single 770 kB dashboard bundle into named vendor chunks and lazy-load optional views so the initial JS payload is smaller and stays under Vite's 500 kB warning threshold. - vite manualChunks: react-vendor, xyflow, graph-layout, markdown - React.lazy for CodeViewer, LearnPanel, PathFinderModal, KeyboardShortcutsHelp - PathFinderModal now only mounts while open (was always mounted) Before: index 769.80 kB (gzip 235.12 kB), chunks-too-large warning. After: index 205 kB + split vendor/lazy chunks, warning gone. Fixes #86 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>