Skip to content

Commit 8189083

Browse files
committed
fix(esm): add default export to maximize compat
Make it work with Jest Fix #27
1 parent e6f5315 commit 8189083

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"exports": {
1010
".": {
1111
"import": "./dist/index.mjs",
12-
"types": "./dist/index.d.ts"
12+
"types": "./dist/index.d.ts",
13+
"default": "./dist/index.mjs"
1314
}
1415
},
1516
"keywords": [

0 commit comments

Comments
 (0)