Skip to content

Does Supabase work in Hono + Cloudflare Pages? #2456

Answered by yusukebe
Luzefiru asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Luzefiru !

Maybe you should add some dependencies to ssr.external in vite.config.ts. Try this:

export default defineConfig(({ mode }) => {
  //...
    return {
      ...globalConfig,
      ssr: {
        external: ['@supabase/ssr'] // <=== Add this
      },
      ///...
})

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Luzefiru
Comment options

@Luzefiru
Comment options

Answer selected by Luzefiru
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants