β All fixes
Ship failure
Bundle size doubled with no obvious cause
The fix
Run `next build` and look at the route-level breakdown β it shows per-page kB. Then `npx @next/bundle-analyzer` for a visual. Usual culprits: a heavy lib imported in a layout (loads on every page), an icon set fully imported instead of tree-shaken, or accidentally bundling a server-only module into a client component.
Deeper dive: read the full article β