We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91bb19d commit 9ea923bCopy full SHA for 9ea923b
src/build/functions/edge.ts
@@ -343,8 +343,10 @@ export const createEdgeHandlers = async (ctx: PluginContext) => {
343
import { init as htmlRewriterInit } from './edge-runtime/vendor/deno.land/x/[email protected]/src/index.ts'
344
import { handleMiddleware } from './edge-runtime/middleware.ts';
345
import { registerCJSModules } from "./edge-runtime/lib/cjs.ts";
346
+ import process from 'node:process'
347
import { AsyncLocalStorage } from 'node:async_hooks';
348
349
+ globalThis.process = process
350
globalThis.AsyncLocalStorage = AsyncLocalStorage;
351
352
// needed for path.relative and path.resolve to work
0 commit comments