Skip to content

Commit ecf1919

Browse files
fix: masquerading as esm
1 parent f460633 commit ecf1919

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,14 @@
2323
"sideEffects": false,
2424
"exports": {
2525
".": {
26-
"types": "./dist/index.d.ts",
27-
"import": "./dist/index.mjs",
28-
"require": "./dist/index.cjs"
26+
"import": {
27+
"types": "./dist/index.d.mts",
28+
"default": "./dist/index.mjs"
29+
},
30+
"require": {
31+
"types": "./dist/index.d.cts",
32+
"default": "./dist/index.cjs"
33+
}
2934
}
3035
},
3136
"main": "./dist/index.mjs",

0 commit comments

Comments
 (0)