Chore: warning about static files & edge functions (#37733)
* Chore: warning about static files & edge functions * Update limits.mdx * Update wasm.mdx * Update apps/docs/content/guides/functions/wasm.mdx Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@@ -31,4 +31,5 @@ subtitle: "Limits applied Edge Functions in Supabase's hosted platform."
|
||||
- Outgoing connections to ports `25` and `587` are not allowed.
|
||||
- Serving of HTML content is only supported with [custom domains](/docs/reference/cli/supabase-domains) (Otherwise `GET` requests that return `text/html` will be rewritten to `text/plain`).
|
||||
- Web Worker API (or Node `vm` API) are not available.
|
||||
- Static files cannot be deployed using the API flag. You need to build them with [Docker on the CLI](/docs/guides/functions/quickstart#step-6-deploy-to-production).
|
||||
- Node Libraries that require multithreading are not supported. Examples: [`libvips`](https://github.com/libvips/libvips), [sharp](https://github.com/lovell/sharp).
|
||||
|
||||
@@ -122,7 +122,8 @@ Before deploying, ensure the Wasm module is bundled with your function by defini
|
||||
|
||||
<Admonition type="note">
|
||||
|
||||
You will need update Supabase CLI to 2.7.0 or higher for the `static_files` support.
|
||||
- You will need update Supabase CLI to 2.7.0 or higher for the `static_files` support.
|
||||
- Static files cannot be deployed using the `--use-api` API flag. You need to build them with [Docker on the CLI](/docs/guides/functions/quickstart#step-6-deploy-to-production).
|
||||
|
||||
</Admonition>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user