Skip to content

Commit 240f439

Browse files
committed
fix: "types" for "exports"
1 parent 702dce6 commit 240f439

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55
"author": "ark-key",
66
"license": "MIT",
77
"exports": {
8-
".": "./lib/index.js",
8+
".": {
9+
"default": "./lib/index.js",
10+
"types": "./lib/index.d.ts"
11+
},
912
"./plugins": "./lib/plugins.js"
1013
},
11-
"types": "lib/index.d.ts",
1214
"files": [
1315
"lib/**/*"
1416
],

0 commit comments

Comments
 (0)