Skip to content

Commit 75272b7

Browse files
committed
update: package.json config
Signed-off-by: sunrabbit123 <[email protected]>
1 parent 98d0c51 commit 75272b7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@
1818
"mcp-bundler",
1919
"mcp-bundler"
2020
],
21-
"main": "src/index.ts",
21+
"exports": {
22+
".": {
23+
"types": "./dist/index.d.ts",
24+
"import": "./dist/index.mjs",
25+
"require": "./dist/index.cjs"
26+
}
27+
},
2228
"files": [
2329
"LICENSE",
2430
"README.md",
2531
"dist",
2632
"package.json"
2733
],
28-
"publishConfig": {
29-
"import": "dist/index.mjs",
30-
"require": "dist/index.js",
31-
"types": "dist/index.d.ts",
32-
"access": "public"
33-
},
3434
"scripts": {
3535
"build": "tsup",
3636
"lint": "eslint .",

0 commit comments

Comments
 (0)