Skip to content

Reduce oversized frontend production bundles #324

@Mosas2000

Description

@Mosas2000

The frontend production build succeeds, but Vite reports a large chunk warning during npm run build.

Observed build output:

  • dist/assets/index-qPcZeuNH.js is about 691.64 kB before gzip.
  • Vite warns that some chunks are larger than 600 kB after minification.

Why this matters:

  • Large initial bundles increase load time and make the app feel heavier than it needs to be.
  • This is especially noticeable for first-time visitors and demo users.

Expected result:

  • The frontend should be split so the main chunks stay below the warning threshold, or the bundle should be intentionally justified and documented.

Possible follow-up areas:

  • Review shared dependencies pulled into the main entry chunk.
  • Add or adjust code splitting for heavier routes and wallet-related modules.
  • Consider manual chunking if the current automatic split is not sufficient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions