From 9f19e48ed16f04adcd6c2e73e5ce7f4d3afc1594 Mon Sep 17 00:00:00 2001 From: merceyz Date: Thu, 19 Jan 2023 23:53:56 +0100 Subject: [PATCH] fix: don't include websockets in node bundle --- lib/fetch/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fetch/index.js b/lib/fetch/index.js index ddcf3c18f91..eb706b557ba 100644 --- a/lib/fetch/index.js +++ b/lib/fetch/index.js @@ -56,7 +56,7 @@ const { Readable, pipeline } = require('stream') const { isErrored, isReadable } = require('../core/util') const { dataURLProcessor, serializeAMimeType } = require('./dataURL') const { TransformStream } = require('stream/web') -const { getGlobalDispatcher } = require('../../index') +const { getGlobalDispatcher } = require('../global') const { webidl } = require('./webidl') const { STATUS_CODES } = require('http')