From 7d841a53758b730808bcbf7ee02226c252f089eb Mon Sep 17 00:00:00 2001 From: ParcelSolutions Date: Thu, 29 Oct 2020 17:27:19 +0100 Subject: [PATCH] fix for webpack and node-fetch https://github.com/node-fetch/node-fetch/issues/450 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 722ac72..e315be4 100644 --- a/index.js +++ b/index.js @@ -12,7 +12,7 @@ 'use strict'; const AbortController = require('abort-controller'); -const fetch = require('node-fetch'); +const fetch = require('node-fetch').default; const {FetchError} = fetch; /**