From 37ceab258514c244600eae942db4ef053273caad Mon Sep 17 00:00:00 2001 From: Jacob Ebey Date: Wed, 4 May 2022 10:57:40 -0700 Subject: [PATCH] add fetch back to exports --- packages/fetch/src/lib.node.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/fetch/src/lib.node.js b/packages/fetch/src/lib.node.js index f87c896..90e30df 100644 --- a/packages/fetch/src/lib.node.js +++ b/packages/fetch/src/lib.node.js @@ -1,6 +1,5 @@ -export { default, Headers, Request, Response } from "./fetch.js" +export { default, fetch, Headers, Request, Response } from "./fetch.js"; +export { ReadableStream, Blob, FormData } from './package.js'; // Node 18+ introduces fetch API globally and it doesn't support our use-cases yet. -// For now we always use the polyfill. -export { ReadableStream, Blob, FormData } from './package.js' - +// For now we always use the polyfill. \ No newline at end of file