Skip to content

Commit 4a2d81a

Browse files
authored
fix: add ./types entrypoint (#1114)
Add back event handler import that was lost in the transition to ESM
1 parent d5b305a commit 4a2d81a

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
@@ -68,6 +68,9 @@ async function main() {
6868
// Tooling currently are having issues with the "exports" field when there is no "default", ex: TypeScript, eslint
6969
default: "./dist-bundle/index.js",
7070
},
71+
"./types": {
72+
types: "./dist-types/types.d.ts",
73+
},
7174
},
7275
source: "dist-src/index.js",
7376
sideEffects: false,

0 commit comments

Comments
 (0)