Files
supabase/apps
Alaister Young 3dc3e4cd5e chore(studio): port ProfileProvider + force SSR bundling of next compat shims
- Wrap Outlet with ProfileProvider from @/lib/profile inside the
  feature flag provider so profile state, auto-creation, and the 401
  sign-out redirect work in the Vite build (same order as _app.tsx).
- ssr.noExternal for /^next(\/|$)/ so our nextCompat resolveId shims
  beat Vite's SSR externalizer. Without this, next/* ids were resolved
  to the shim at build time but left as external runtime imports under
  Vite dev SSR, so Node would load Next's real module and ProfileProvider's
  useRouter threw "NextRouter was not mounted".
2026-04-21 16:12:32 +08:00
..