Hey, I've deployed a Sveltekit project on Vercel and I'm trying to switch to Cloudflare pages. I've

Hey, I've deployed a Sveltekit project on Vercel and I'm trying to switch to Cloudflare pages. I've recode some of my functions to run on V8 (like one with Crypto API), and pretty everything is working on pages. But my dev environnement is not working anymore, because of web API. I'm using vite. Is there any way to switch Vite "runtime" to worker ? Or do I have to separate frontend and backend? I've seen that some people do vite build --watch and then wrangler pages dev --live-reload but it's too long and crash a lot. What can I do?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?