Issue
I've just upgrated to Next JS 9.0 and when I run a build there's a fantastic new feature which shows you the size of all the compiled pages. They're all around 20-30k except for pages which use Formik which tend to be at least double that size. The main problem is that the app.js file is over 600k and red.
Is there a way to dive further and see on a more granular level what's making up all my bundles?
Solution
You can use below package to analyze main bundle:
https://github.com/vercel/next.js/tree/canary/packages/next-bundle-analyzer
Answered By - Parham Zare
Answer Checked By - - Dawn Plyler (ReactFix Volunteer)