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.
The frontend production build succeeds, but Vite reports a large chunk warning during
npm run build.Observed build output:
dist/assets/index-qPcZeuNH.jsis about 691.64 kB before gzip.Why this matters:
Expected result:
Possible follow-up areas: