Skip to content

Commit 011d160

Browse files
committed
add types property for each export and add module export path
1 parent af3e20a commit 011d160

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

package.json

+7-3
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,22 @@
66
"author": "abyssparanoia",
77
"license": "Apache-2.0",
88
"main": "dist/index.js",
9+
"module": "dist/index.mjs",
910
"exports": {
1011
".": {
1112
"import": "./dist/index.mjs",
12-
"require": "./dist/index.js"
13+
"require": "./dist/index.js",
14+
"types": "./dist/dev-kit.d.ts"
1315
},
1416
"./l2": {
1517
"import": "./l2/index.mjs",
16-
"require": "./l2/index.js"
18+
"require": "./l2/index.js",
19+
"types": "./l2/index.d.ts"
1720
},
1821
"./agent": {
1922
"import": "./agent/index.mjs",
20-
"require": "./agent/index.js"
23+
"require": "./agent/index.js",
24+
"types": "./agent/index.d.ts"
2125
}
2226
},
2327
"types": "./dist/dev-kit.d.ts",

0 commit comments

Comments
 (0)