Skip to content

Commit

Permalink
Merge pull request #84 from akmjenkins/feature/fetch-polyfill
Browse files Browse the repository at this point in the history
Use cross-fetch as a polyfill rather than a full source of implementa…
  • Loading branch information
niftylettuce authored Feb 18, 2019
2 parents a984755 + 9d0abba commit 700db95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const caseless = require('caseless');
const qs = require('qs');
const fetch = require('cross-fetch');
// eslint-disable-next-line import/no-unassigned-import
require('cross-fetch/polyfill');
const urlJoin = require('url-join');

const Interceptor = require('./interceptor');
Expand Down

0 comments on commit 700db95

Please sign in to comment.