Skip to content

Commit ac2c305

Browse files
authored
fix: wretch default export compatibility in CommonJS (#32)
1 parent 2f114ab commit ac2c305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wretch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// NOTE: does not export Wretcher
2-
const wretch = require('./wretch.browser')
2+
const { default: wretch } = require('./wretch.browser')
33
const fetch = require('./fetch')
44

55
wretch().polyfills({ fetch })

0 commit comments

Comments
 (0)