Skip to content

Commit

Permalink
fix(esm): add default export to maximize compat
Browse files Browse the repository at this point in the history
Make it work with Jest

Fix #27
  • Loading branch information
gregberge committed Jun 27, 2022
1 parent e6f5315 commit 8189083
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"exports": {
".": {
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
}
},
"keywords": [
Expand Down

0 comments on commit 8189083

Please sign in to comment.