Skip to content

Commit 1086bf1

Browse files
committed
fix: correct exports path for types
1 parent 365ea2d commit 1086bf1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
],
1111
"exports": {
1212
".": "./build/index.js",
13-
"./types": "./build/types.js"
13+
"./types": "./build/src/types.js"
1414
},
1515
"scripts": {
1616
"pretest": "npm run lint",
@@ -64,7 +64,8 @@
6464
},
6565
"tsup": {
6666
"entry": [
67-
"index.ts"
67+
"index.ts",
68+
"src/types.ts"
6869
],
6970
"outDir": "./build",
7071
"clean": true,

0 commit comments

Comments
 (0)