We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d5778a commit 5535c2eCopy full SHA for 5535c2e
1 file changed
browser.js
@@ -16,7 +16,9 @@ var global = getGlobal();
16
module.exports = exports = global.fetch;
17
18
// Needed for TypeScript and Webpack.
19
-exports.default = global.fetch.bind(global);
+if (global.fetch) {
20
+ exports.default = global.fetch.bind(global);
21
+}
22
23
exports.Headers = global.Headers;
24
exports.Request = global.Request;
0 commit comments