Sanity Runtime POC

Phase 0 of the docs/plans/sanity-migration-plan.md proves @sanity/client runs cleanly on Cloudflare Pages Functions (V8 isolate runtime) without bundle-size or runtime issues.

Test routes

RouteTypeWhat it proves
/static-test Static (prerendered) Hybrid mode works; static generation fine
/dynamic-test Edge function (prerender = false) The real test — Sanity client fetches doc at request time on V8 isolate

Build info

This page was generated at build time: 2026-05-09T06:06:45.918Z

If /dynamic-test shows a more recent timestamp than this, edge rendering is working.