We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c992600 commit 15af7c7Copy full SHA for 15af7c7
packages/runtime/src/templates/edge/next-dev.js
@@ -5,6 +5,7 @@ import { buildResponse } from '../edge-shared/utils.ts'
5
6
globalThis.NFRequestContextMap ||= new Map()
7
globalThis.__dirname = fromFileUrl(new URL('./', import.meta.url)).slice(0, -1)
8
+globalThis.process ||= { env: Deno.env.toObject() }
9
10
// Next.js uses this extension to the Headers API implemented by Cloudflare workerd
11
if (!('getAll' in Headers.prototype)) {
0 commit comments