diff --git a/packages/webapi/src/lib/fetch.ts b/packages/webapi/src/lib/fetch.ts index 9c1f7c446..f8500a846 100644 --- a/packages/webapi/src/lib/fetch.ts +++ b/packages/webapi/src/lib/fetch.ts @@ -1,14 +1,12 @@ +import { bootstrap as bootstrapGlobalAgent } from 'global-agent' import type { RequestInit } from 'node-fetch' import { default as nodeFetch, Headers, Request, Response } from 'node-fetch' import Stream from 'node:stream' import * as _ from './utils' -import { - bootstrap as bootstrapGlobalAgent -} from 'global-agent'; bootstrapGlobalAgent({ environmentVariableNamespace: '', -}); +}) export { Headers, Request, Response }