Frontend migrated from Next.js to Vite + React Router in a single large commit
dropthejase replaced the entire Next.js App Router frontend with Vite and React Router v7 in one 135-file commit. The app is SPA-only behind CloudFront, so Next.js was earning very little; Vite builds faster and the S3 deploy is simpler. The cost is a rewrite of every page, every router import, and every layout file.
5802aa6 is a single commit removing 23,426 lines and adding 14,955. The lock file alone changes by thousands of lines as the Next.js dependency tree is replaced. NEXT_PUBLIC_* env vars become VITE_*. The bun.lock disappears; package-lock.json with npm takes over.
The routing layer changes from Next.js App Router conventions to react-router-dom v7 createBrowserRouter / <Routes>. All useRouter, usePathname, useSearchParams hooks are replaced with React Router equivalents. The next/link imports are replaced with react-router <Link>. Server-side concerns (RSC, server actions, next/headers) are absent since the app was already static-export-only.
The static export config from Next.js is replaced by Vite's standard SPA build output, deployed to S3 and served via CloudFront with the 404→200 SPA fallback already in StorageStack.
A follow-up commit (7845ed4) adds useNavigate to the sidebar chat item so deleting the active chat navigates to /assistant, and adds the Vite env example file with VITE_* variables.
Spotted something wrong? Or know the PR text has fresher detail than the writeup above?