Arno
Arno
On my side I made this patch: ``` diff --git a/node_modules/@ceramicnetwork/common/lib/utils/http-utils.js b/node_modules/@ceramicnetwork/common/lib/utils/http-utils.js index b6e73a1..a0f97ae 100644 --- a/node_modules/@ceramicnetwork/common/lib/utils/http-utils.js +++ b/node_modules/@ceramicnetwork/common/lib/utils/http-utils.js @@ -1,4 +1,4 @@ -import fetch from 'cross-fetch'; +//import fetch from...
What about optional import: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import#importing_different_modules_based_on_environment Something like: ``` let fetch; if (process.env.CROSS_FETCH_DISABLED !== "true") { fetch = await import("cross-fetch"); } ```