Skip to content

Commit 62fa365

Browse files
committed
fix: correct output of exports field for TypeScript
1 parent 9a4bf25 commit 62fa365

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/build.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ async function main() {
6666
exports: {
6767
".": {
6868
node: {
69-
import: "./dist-node/index.js",
7069
types: "./dist-types/index.d.ts",
70+
import: "./dist-node/index.js",
7171
},
7272
browser: {
73-
import: "./dist-web/index.js",
7473
types: "./dist-types/web.d.ts",
74+
import: "./dist-web/index.js",
7575
},
7676
},
7777
},

0 commit comments

Comments
 (0)