Alexander Brown
cbdc7d030f
feat: code splitting optimization - reduce initial bundle by 36% (#8542)
## Summary
Reduces initial module preload from 12.94 MB to 8.24 MB (-4.7 MB, -36%).
## Changes
- Split vendor chunks for better cache isolation (firebase, sentry,
i18n, zod, etc.)
- Exclude heavy optional chunks from initial preload: THREE.js, xterm,
tiptap, chart.js, yjs
- Lazy load 16 dialog components in dialogService
- Add \endor-yjs\ chunk for CRDT library
## Metrics
| Metric | Before | After |
|--------|--------|-------|
| Initial preload | 12.94 MB | 8.24 MB |
| vendor-other | 4,006 KB | 2,156 KB |
| dialogService | 1,860 KB | 1,304 KB |
All excluded chunks still load on-demand when their features are used.
┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-8542-feat-code-splitting-optimization-reduce-initial-bundle-by-36-2fb6d73d36508146aaf7fdaed3274033)
by [Unito](https://www.unito.io)
---------
Co-authored-by: Amp <amp@ampcode.com>
Co-authored-by: github-actions <github-actions@github.com>
2026-02-02 19:05:28 -08:00
..
2025-12-08 19:48:11 -07:00
2025-12-08 19:48:11 -07:00
2025-12-29 15:03:34 -08:00
2025-12-08 19:48:11 -07:00
2025-12-29 15:03:34 -08:00
2025-03-17 15:32:14 -04:00
2025-12-29 15:03:34 -08:00
2026-02-02 17:12:11 -08:00
2025-12-08 19:48:11 -07:00
2026-02-02 19:05:28 -08:00
2025-12-08 19:48:11 -07:00
2025-12-08 19:48:11 -07:00
2025-12-08 19:48:11 -07:00
2025-12-08 19:48:11 -07:00
2026-01-16 22:11:00 -07:00
2026-01-13 20:37:17 -07:00
2025-12-08 19:48:11 -07:00
2025-12-29 15:03:34 -08:00
2026-01-13 20:37:17 -07:00
2026-01-17 00:38:58 +01:00
2025-12-29 15:03:34 -08:00
2025-12-08 19:48:11 -07:00
2026-01-21 20:45:29 -07:00
2026-01-29 16:34:56 -08:00
2026-01-13 14:46:41 -08:00
2026-01-29 16:34:56 -08:00
2025-12-11 14:02:23 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 18:40:58 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2025-09-18 11:35:44 -07:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-02-02 17:12:11 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2025-12-09 00:07:02 -07:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00
2026-01-29 16:34:56 -08:00