Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabaseβ€’3mo agoβ€’
17 replies
Amal Chandran

Referencing local monorepo packages in Edge Functions?

In a monorepo setup, how can I improve the developer experience for shared local packages in Edge Functions?

Currently, I'm facing two major friction points:

Fragile Imports: My deno.json requires long relative paths like "@my/pkg": "../../../../pkg/dist/index.js".

Manual DX: Any change to the shared package requires a manual rebuild AND a manual restart of supabase functions serve.

Is there a supported way to reference local packages more cleanly and get hot-reloading to work?

Current painful setup: https://github.com/amal-chandran/supabase-experiments/tree/experiment/functions-code-share
GitHub
GitHub - amal-chandran/supabase-experiments at experiment/functions...
This repository is to keep track of all the Supabase experiments. - GitHub - amal-chandran/supabase-experiments at experiment/functions-code-share
GitHub - amal-chandran/supabase-experiments at experiment/functions...
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How to import Local packages into Edge functions in monorepo?
SupabaseSSupabase / help-and-questions
7mo ago
How to import Local packages into Edge functions in monorepo?
SupabaseSSupabase / help-and-questions
7mo ago
Turborepo (monorepo) and Edge Functions?
SupabaseSSupabase / help-and-questions
3y ago
Authorization for Local Edge Functions
SupabaseSSupabase / help-and-questions
2w ago