Mongodb – Why does next.js need runtime environment variables at build?
After a bunch of false starts I've followed the T3 stack approach to runtime environment variables for my next.js app, particularly to protect my MONGODB_URI secret by providing it only at runtime on the server. env/server.js: import { createEnv }…