Skip to content

Commit d286c49

Browse files
authored
fix: use default export (#368)
We mistakenly left `import` in our export map, which means CJS consumers can't `require` chai-http right now. This should fix it.
1 parent 78ce5f0 commit d286c49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"main": "./index.js",
2828
"exports": {
2929
".": {
30-
"import": "./index.js",
30+
"default": "./index.js",
3131
"types": "./types/index.d.ts"
3232
}
3333
},

0 commit comments

Comments
 (0)