Debugging "max serverless size exceeded" in Next.js

How to debug the "A Serverless Function has exceeded the unzipped maximum size of 250 MB" error in Next.js & Vercel