Deploying Next.js with pm2 – how to minimize project footprint? I start to set up a pm2 deployment for a simple Next.js webpage.