Skip to content

Commit

Permalink
Merge pull request #2 from huozhi/fix/esm
Browse files Browse the repository at this point in the history
Fix esm asset re-exports from node-fetch
  • Loading branch information
honzasp authored Jun 15, 2023
2 parents beefebc + 57eb2cf commit ac36571
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions isomorphic-fetch/node.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
import fetch from "node-fetch";
const { Request, Response, Headers } = fetch;
export { fetch, Request, Response, Headers };
export { default as fetch, Request, Response, Headers } from 'node-fetch';

0 comments on commit ac36571

Please sign in to comment.