Skip to content

Commit 0e9eb91

Browse files
committed
chore: package.json增加main和module字段
1 parent 70fbe11 commit 0e9eb91

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"deploy:main": "sh scripts/develop-deploy-main.sh",
1212
"sync:main": "sh scripts/develop-sync-main.sh"
1313
},
14+
"main": "dist/index.js",
15+
"module": "dist/esm/index.js",
1416
"types": "dist/index.d.ts",
1517
"exports": {
1618
".": {

0 commit comments

Comments
 (0)