Skip to content

Commit

Permalink
fix(pkg): correct path in default export fallback to point to the J…
Browse files Browse the repository at this point in the history
…S and not the types (#736)
  • Loading branch information
marekdedic authored Apr 24, 2024
1 parent 03e9923 commit 817060b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async function main() {
import: "./dist-src/index.js",
types: "./dist-types/index.d.ts",
// Tooling currently are having issues with the "exports" field when there is no "default", ex: TypeScript, eslint
default: "./dist-types/index.js",
default: "./dist-src/index.js",
},
},
sideEffects: false,
Expand Down

0 comments on commit 817060b

Please sign in to comment.