summaryrefslogtreecommitdiff
path: root/packages/integrations/netlify/src/edge-shim.ts
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@skypack.dev> 2022-04-19 11:22:15 -0400
committerGravatar GitHub <noreply@github.com> 2022-04-19 11:22:15 -0400
commit4cf54c60aa63bd614b242da0602790015005673d (patch)
tree25fcec1da64890044742a1090b1773076a0d43e9 /packages/integrations/netlify/src/edge-shim.ts
parentc35e94f5443d4ade07ff787d39b042eb3b9004fb (diff)
downloadastro-4cf54c60aa63bd614b242da0602790015005673d.tar.gz
astro-4cf54c60aa63bd614b242da0602790015005673d.tar.zst
astro-4cf54c60aa63bd614b242da0602790015005673d.zip
Netlify Edge function support (#3148)
* Netlify Edge function support * Update readme with edge function information * Adds a changeset * Disable running edge function test in CI for now
Diffstat (limited to 'packages/integrations/netlify/src/edge-shim.ts')
-rw-r--r--packages/integrations/netlify/src/edge-shim.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/integrations/netlify/src/edge-shim.ts b/packages/integrations/netlify/src/edge-shim.ts
new file mode 100644
index 000000000..1a4a6ee9b
--- /dev/null
+++ b/packages/integrations/netlify/src/edge-shim.ts
@@ -0,0 +1,4 @@
+(globalThis as any).process = {
+ argv: [],
+ env: {},
+};