Switching to Next was a mistake for our use case. We didn't consider that our users are starting MCPJam with npx. Our npm package size exploded to 280MB. Next.js was too heavyweight for a locally ran web app. Switching back to Vite + Hono brought our package size to 9MB, much more manageable.
This post isn't to bash Next.js. It's just to remind you that tech stack does matter. We didn't think about the consequence of switching to Next and didn't consider our users' use of npx. If MCPJam was a hosted webapp, it would probably matter less. Remember to think about your stack's tradeoffs before you commit to building!