Skip to content

Commit 577e93f

Browse files
authored
fix: default to common js in export map (#303)
1 parent 8aa53f8 commit 577e93f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
"types": "./dist/index.d.ts",
66
"main": "./dist/index.js",
77
"exports": {
8+
"import": "./dist/index-esm.mjs",
89
"require": "./dist/index.js",
9-
"default": "./dist/index-esm.mjs"
10+
"default": "./dist/index.js"
1011
},
1112
"engines": {
1213
"node": "^14.13 || >=16"

0 commit comments

Comments
 (0)