Fairly new to edge functions, modularizing some parts and learning about shared code in edge functions. I believe the documentation states that having a _shared folder inside the functions folder and outside any specific function with relative imports
Caused by: Module not found "file:///Projects/Programming/work/v2/supabase/functions/_shared/header". at file:///Projects/Programming/work/v2/supabase/functions/testing/index.ts:1:24error running container: exit 1Try rerunning the command with --debug to troubleshoot the error.
Caused by: Module not found "file:///Projects/Programming/work/v2/supabase/functions/_shared/header". at file:///Projects/Programming/work/v2/supabase/functions/testing/index.ts:1:24error running container: exit 1Try rerunning the command with --debug to troubleshoot the error.
is the result of that syntax. I also read that I need to make an import map in the config.toml to make the function aware of the shared code, I tried this with
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.