Skip to content

Commit 8a45428

Browse files
committed
Revert "fix: add main entry point (#719)"
This reverts commit 2a72627.
1 parent 8251b8e commit 8a45428

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

scripts/build.mjs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,8 @@ async function main() {
5353
{
5454
...pkg,
5555
files: ["dist-*/**"],
56-
main: "./dist-src/index.js",
56+
exports: "./dist-src/index.js",
5757
types: "./dist-types/index.d.ts",
58-
exports: {
59-
".": {
60-
import: "./dist-src/index.js",
61-
types: "./dist-types/index.d.ts",
62-
},
63-
},
6458
sideEffects: false,
6559
},
6660
null,

0 commit comments

Comments
 (0)