Maybe, though i followed your nice blog post

wrangler.toml

compatibility_flags = [“nodejs_compat_v2”]
compatibility_date = “2025-03-20”
pages_build_output_dir = “.svelte-kit/cloudflare”

I will have a look again i might have missed something (for now i’m staying on Vercel)