Skip to content

Frontend bundle ~1MB gz in one eager chunk — code-split heavy widgets #229

Description

@mikedegeofroy

Severity: High · Area: onno-ui-starter / frontend build · Found in framework audit 2026-07-07

Single ~3.5 MB (1.03 MB gz) index chunk — recharts, maplibre-gl, fullcalendar×4, dnd, DivKit all eagerly loaded. The only code-split is per-lucide-icon (icon-bridge.tsx:52), producing ~1500 tiny chunk files.

Fix: React.lazy the heavy widgets (chart/map/calendar/kanban) — they are already island-gated, so they are natural split points. Target <400 KB gz initial chunk.

Metadata

Metadata

Assignees

No one assigned

    Labels

    auditFrom framework audit 2026-07enhancementNew feature or requesthighHigh severity

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions