Skip to content

Commit acee667

Browse files
committed
build: update exports
1 parent 2817bf5 commit acee667

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

package.json

+16-6
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,24 @@
88
"type": "module",
99
"exports": {
1010
".": {
11-
"import": "./dist/index.mjs",
12-
"require": "./dist/index.cjs",
13-
"types": "./dist/index.d.ts"
11+
"import": {
12+
"types": "./dist/index.d.mts",
13+
"default:": "./dist/index.mjs"
14+
},
15+
"require": {
16+
"types": "./dist/index.d.cts",
17+
"default:": "./dist/index.cjs"
18+
}
1419
},
1520
"./update": {
16-
"import": "./dist/update.mjs",
17-
"require": "./dist/update.cjs",
18-
"types": "./dist/update.d.ts"
21+
"import": {
22+
"types": "./dist/update.d.mts",
23+
"default:": "./dist/update.mjs"
24+
},
25+
"require": {
26+
"types": "./dist/update.d.cts",
27+
"default:": "./dist/update.cjs"
28+
}
1929
}
2030
},
2131
"main": "./dist/index.cjs",

0 commit comments

Comments
 (0)