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 f0fe21a commit e54a09eCopy full SHA for e54a09e
src/runtime/node/http.js
@@ -1,4 +1,6 @@
1
-require('es6-promise').polyfill();
+import ES6Promise from 'es6-promise';
2
import fetch from 'isomorphic-fetch';
3
4
+ES6Promise.polyfill();
5
+
6
export default fetch;
src/runtime/react-native/http.js
@@ -1,2 +1,7 @@
+import fetch from 'isomorphic-fetch';
7
src/runtime/web/http.js
0 commit comments