Firu
Explore posts from serversDoes Hono Cloudflare Pages work with `@supabase/supabase-js`?
thank you @Alex Kontos for pointing me to the right direction
19 replies
Does Hono Cloudflare Pages work with `@supabase/supabase-js`?
I found a workaround for this. I ditched Vite in favor of manually using ESBuild / bun to bundle the server entry script into a
_worker.js
then serve static files following a similar approach to this tutorial on the Cloudflare Docs: https://developers.cloudflare.com/pages/framework-guides/deploy-a-hono-site/19 replies
Does Hono Cloudflare Pages work with `@supabase/supabase-js`?
Yeah, it does work with workers. The issue only happens once I introduce the
pages()
honojs/vite-plugins/cloudflare-pages plugin.
Here are my minimal repros for this:
Hono Workers Template + Supabase | Worker /tasks Route
Hono Pages Template + Supabase | Pages /tasks Route19 replies
Does Hono Cloudflare Pages work with `@supabase/supabase-js`?
I was able to use Supabase before with Hono in a small project, but without
vite
and simply served the files & ran the app via wrangler
.
19 replies