Skip to content

Commit

Permalink
fix(pkg): add types field for exports (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Jul 20, 2022
1 parent 3dd6efd commit 457f043
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions package.json
Expand Up @@ -4,8 +4,13 @@
"description": "A unified javascript build system",
"repository": "unjs/unbuild",
"license": "MIT",
"exports": "./dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs"
}
},
"types": "./dist/index.d.ts",
"bin": {
"unbuild": "./dist/cli.mjs"
},
Expand Down

0 comments on commit 457f043

Please sign in to comment.