Skip to content

feat: bundle size optimization with code splitting#4

Open
devEunicee wants to merge 1 commit into
mainfrom
feat/263-bundle-optimization
Open

feat: bundle size optimization with code splitting#4
devEunicee wants to merge 1 commit into
mainfrom
feat/263-bundle-optimization

Conversation

@devEunicee
Copy link
Copy Markdown
Owner

Closes AnnabelJoe#263

Changes

  • Add @next/bundle-analyzer — run pnpm analyze to inspect bundle
  • Dynamic import wrappers for recharts charts (AreaChart, BarChart, LineChart) in components/charts.tsx — loaded client-side only, no SSR
  • Add analyze script to package.json (ANALYZE=true next build)
  • @stellar/stellar-sdk already in serverExternalPackages (excluded from client bundle)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Optimize bundle size with code splitting and lazy loading

1 participant