Skip to content

FE-25: Optimize Webpack bundle size by dynamic importing heavy libraries #895

Description

@chinweobtagaz

Context: chess.js and Stockfish are bundled into the main JS chunk, severely impacting initial page load performance.
Location: frontend/components/StockfishWASM.tsx
Acceptance Criteria:

  • Use next/dynamic to lazy-load engine and chess logic only when the user enters a game.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions