Skip to content

Commit 8d88295

Browse files
committed
fix(pkg): add an export for dist-types/types.d.ts
1 parent 3f7b160 commit 8d88295

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/build.mjs

+3
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ async function main() {
7070
// Tooling currently are having issues with the "exports" field when there is no "default", ex: TypeScript, eslint
7171
default: "./dist-bundle/index.js"
7272
},
73+
"./types": {
74+
types: "./dist-types/.d.ts",
75+
}
7376
},
7477
sideEffects: false,
7578
},

0 commit comments

Comments
 (0)