From de98e0b232509d5f40c135d540a70e415272ff85 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 3 May 2017 15:35:00 +0200 Subject: node_modules --- node_modules/isomorphic-fetch/fetch-npm-browserify.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 node_modules/isomorphic-fetch/fetch-npm-browserify.js (limited to 'node_modules/isomorphic-fetch/fetch-npm-browserify.js') diff --git a/node_modules/isomorphic-fetch/fetch-npm-browserify.js b/node_modules/isomorphic-fetch/fetch-npm-browserify.js new file mode 100644 index 000000000..7f16e2319 --- /dev/null +++ b/node_modules/isomorphic-fetch/fetch-npm-browserify.js @@ -0,0 +1,6 @@ +// the whatwg-fetch polyfill installs the fetch() function +// on the global object (window or self) +// +// Return that as the export for use in Webpack, Browserify etc. +require('whatwg-fetch'); +module.exports = self.fetch.bind(self); -- cgit v1.2.3