News for hackers. Stuff that matters.
Re:Why I Won’t Use Next.js by medhir on Saturday March 22, 2025 @05:50PM (#43448915)
Lots of discussion recently around how Next.js is “hard to deploy” without Vercel and don’t quite understand.

I’ve been using Next deployed to a container for years without issue — what are the major challenges here?

Re:Why I Won’t Use Next.js by nirga on Saturday March 22, 2025 @05:52PM (#43448931)
For example - the fact that the FE environment variables are hardcoded at build time makes it hard to just deploy a container
Re:Why I Won’t Use Next.js by williamstein on Saturday March 22, 2025 @09:33PM (#43450246)
Last I checked, I think with nextjs, if you want to build once and deploy with different base paths (without having to rebuild), this is impossible, since the base path is hardcoded all over the build. This makes some forms of deployment of nextjs sites much more difficult than with other frameworks.