You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each Edge Function can now have its own deno.json or deno.jsonc file to manage dependencies. You will need to deploy your functions using Supabase CLI version v1.215.0 or above to make use of this feature.
To test your function locally, run supabase functions serve. When you're ready, you can deploy it to hosted platform by running supabase functions deploy function-name
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Each Edge Function can now have its own
deno.json
ordeno.jsonc
file to manage dependencies. You will need to deploy your functions using Supabase CLI version v1.215.0 or above to make use of this feature.How to use
deno.json
Create a
deno.json
in your function's folder:You can now use aliased imports in your source code:
To test your function locally, run
supabase functions serve
. When you're ready, you can deploy it to hosted platform by runningsupabase functions deploy function-name
For more details, check the guide: https://supabase.com/docs/guides/functions/import-maps#using-denojson-recommended
Beta Was this translation helpful? Give feedback.
All reactions