Skip to content

Commit 817060b

Browse files
authored
fix(pkg): correct path in default export fallback to point to the JS and not the types (#736)
1 parent 03e9923 commit 817060b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ async function main() {
5959
import: "./dist-src/index.js",
6060
types: "./dist-types/index.d.ts",
6161
// Tooling currently are having issues with the "exports" field when there is no "default", ex: TypeScript, eslint
62-
default: "./dist-types/index.js",
62+
default: "./dist-src/index.js",
6363
},
6464
},
6565
sideEffects: false,

0 commit comments

Comments
 (0)