Skip to content

Commit 1cf7964

Browse files
authored
fix: correct dist entrypoints and type paths (#872)
1 parent 481869c commit 1cf7964

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@
1515
"author": "Verite Mugabo <https://veritemugabo.com/>",
1616
"type": "module",
1717
"main": "./dist/index.cjs",
18-
"module": "./dist/index.js",
19-
"types": "./dist/index.d.ts",
18+
"module": "./dist/index.mjs",
19+
"types": "./dist/index.d.mts",
2020
"exports": {
2121
".": {
22-
"import": "./dist/index.js",
22+
"types": {
23+
"import": "./dist/index.d.mts",
24+
"require": "./dist/index.d.cts"
25+
},
26+
"import": "./dist/index.mjs",
2327
"require": "./dist/index.cjs"
2428
},
2529
"./package.json": "./package.json"

0 commit comments

Comments
 (0)