Skip to content

Add bundle-size analysis for the frontend #68

Description

@collinsadi

The frontend ships heavy crypto dependencies (snarkjs, circomlibjs) split via manual Vite chunks, but there is no visibility tool to track bundle size over time. We should add a bundle visualizer to the build, document the manual-chunk thresholds, and note a target budget for the prover chunk.

Acceptance criteria

  • A build:analyze step (or equivalent) produces a bundle report.
  • The chunking strategy and size budget are documented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Official CampaignPart of the official campaigndxDeveloper experiencefrontendWeb wallet frontendlowLow priorityperformancePerformance and efficiency worktoolingScripts and tooling

    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