Skip to content

Commit

Permalink
fix: correct output of exports field for TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 committed Feb 17, 2024
1 parent 9a4bf25 commit 62fa365
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build.mjs
Expand Up @@ -66,12 +66,12 @@ async function main() {
exports: {
".": {
node: {
import: "./dist-node/index.js",
types: "./dist-types/index.d.ts",
import: "./dist-node/index.js",
},
browser: {
import: "./dist-web/index.js",
types: "./dist-types/web.d.ts",
import: "./dist-web/index.js",
},
},
},
Expand Down

0 comments on commit 62fa365

Please sign in to comment.