Β© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
S
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
Supabase
Join
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
How to import Local packages into Edge functions in monorepo?
S
Supabase / help-and-questions
7mo ago
How to import Local packages into Edge functions in monorepo?
S
Supabase / help-and-questions
7mo ago
Turborepo (monorepo) and Edge Functions?
S
Supabase / help-and-questions
3y ago
Authorization for Local Edge Functions
S
Supabase / help-and-questions
2w ago