Next.js: Reducing Bundle Size When Using Third-Party Libraries
An example of how to improve bundle size with Next.js
Published in
5 min readDec 10, 2020
I work at a startup called Parallax, where we’re building a resource planning and project accounting app with Next.js. I recently noticed some of the pages would have a large “First Load JS” after running the next build
command in the terminal.