Skip to content

Commit

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

0 comments on commit b9c243d

Please sign in to comment.