Skip to content

Commit

Permalink
fix(ky-universal): server importing es bundle (#121)
Browse files Browse the repository at this point in the history
Co-authored-by: pooya parsa <[email protected]>
  • Loading branch information
privatenumber and pi0 authored Aug 20, 2020
1 parent 4ef88e4 commit 029dea6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ky-universal/node.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const fetch = require('node-fetch')
const fetch = process.server ? require('node-fetch/lib/index.js') : require('node-fetch/browser.js')

const AbortController = require('abort-controller')

const TEN_MEGABYTES = 1000 * 1000 * 10
Expand Down

0 comments on commit 029dea6

Please sign in to comment.