12
Can we get an example where functions and types are shared between front-end code and edge functions?
Source: supabase/supabase#26838 · opened by @carcinocron
I have a pnpm/vite based front-end and am attempting to use supabase functions. I've tried various things like this import_map.json file:
but it seems like everything you can try fails to deno lint correctly but more importantly also fails to deploy correctly. The only thing I've gotten to work is copying and pasting types/functions into the deno part of the repo. The rest of my repo is a standard pnpm workspaces setup, which the non-deno parts are working/integrating smoothly.
but it seems like everything you can try fails to deno lint correctly but more importantly also fails to deploy correctly. The only thing I've gotten to work is copying and pasting types/functions into the deno part of the repo. The rest of my repo is a standard pnpm workspaces setup, which the non-deno parts are working/integrating smoothly.
No pledges yet. Be the first to back this.
Comments
Similar requests
Enable Syncing of Vault and Edge Function Secrets
1 vote · 0 comments
NestJS Support in Supabase Edge Functions
17 votes · 0 comments
Feature Request: Add Descriptions for Edge Functions
2 votes · 0 comments
Improving the functionality of Edge Functions
3 votes · 0 comments
Frontend Hosting on Supabase Cloud
2 votes · 0 comments
No comments yet.