Skip to main content
← All fixes

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 β†’

More Ship failures

Know a better fix, or hit one that’s not here? Submit a fix β†’

Get one fix in your inbox each week. The Weekly Fix β†’