Reminder, as its not mentioned:
Next.js is produced by Vercel, a competitor to Railway.
True. That framework is owned by a cloud company and the way they host Next.js apps in a secure and scalable way remains secret sauce.
Now it doesn't really impact build time and Railway offers Next.js hosting.
Moving to vite + tanstack builds faster is also a fact.