Skip to content

Commit b9c243d

Browse files
committed
fix: add default fallback export
1 parent b19ced5 commit b9c243d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/build.mjs

+2
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ async function main() {
7373
".": {
7474
types: "./dist-types/index.d.ts",
7575
import: "./dist-node/index.js",
76+
// Tooling currently are having issues with the "exports" field when there is no "default", ex: TypeScript, eslint
77+
default: "./dist-node/index.js",
7678
},
7779
},
7880
sideEffects: false,

0 commit comments

Comments
 (0)