Railway migrated their production frontend from Next.js to Vite + TanStack Router, reducing builds from 10+ minutes to under two minutes. The move addressed architectural mismatch—Next.js's server-first design conflicted with Railway's client-heavy dashboard and canvas, shipped zero-downtime via two PRs.
Infrastructure
We moved Railway's frontend off Next.js. Builds went from 10+ mins to under two
Railway ditched Next.js for Vite + TanStack Router, cutting frontend build times from 10+ minutes to under 2 by eliminating architectural mismatch between their client-heavy dashboard and Next.js's server-first design.
Wednesday, April 8, 2026 12:00 PM UTC2 MIN READSOURCE: Hacker NewsBY sys://pipeline
Tags
infrastructure