This is a Starter with Supabase, Remix, and Cloudflare Workers.
git clone https://github.com/smallStall/RSCStarter
cd RSCStarter
npm installLet's create the Cloudflare Workers configuration file wrangler.toml at root as follows.
name = "remix-supabase-cloudflare-workers-starter"
type = "javascript"
zone_id = ""
account_id = ""
route = ""
workers_dev = true
[site]
bucket = "./public"
entry-point = "."
[build]
command = "npm run build:worker"
watch_dir = "build/index.js"
[build.upload]
format="service-worker"