Skip to content

Commit

Permalink
build: 调整 package.json 导出和类型
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudcome committed Aug 2, 2024
1 parent e8eb845 commit 68557d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@
"node": ">=14.21"
},
"sideEffects": false,
"type": "commonjs",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
"require": "./dist/index.cjs"
},
"./package.json": "./package.json"
},
Expand Down

0 comments on commit 68557d5

Please sign in to comment.