Best practises for supabase edge functions?
Hi, I have following file tree in my supabase edge functions project:
And I wonder if it's the preferred way to manage edge functions? What are some protips I could use?
In the dashboard I can't see my util files what would be very handy because it's pain to work with edge functions from VSC (at least for me) so I guess I'm doing something wrong
3 Replies
Similar to my other thread there is not preferred way, try make edge functions compact and try make use of util files for code that is repeated often.
in the ui there is this

Where you can add a file to edge functions if you want to manage them form the UI
though there is no shared interface between edge functions like a shared folder when using vs code so i suspect you would have to copy code over to each edge function at which point using vs code is easier.