Skip to content

Commit

Permalink
fix(pkg): add an export for dist-types/types.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 committed Apr 15, 2024
1 parent 3f7b160 commit 8d88295
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ async function main() {
// Tooling currently are having issues with the "exports" field when there is no "default", ex: TypeScript, eslint
default: "./dist-bundle/index.js"
},
"./types": {
types: "./dist-types/.d.ts",
}
},
sideEffects: false,
},
Expand Down

0 comments on commit 8d88295

Please sign in to comment.