Skip to content

Commit

Permalink
perf: enhance dts exports
Browse files Browse the repository at this point in the history
  • Loading branch information
hemengke1997 committed Feb 8, 2024
1 parent d217f5b commit 354a827
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
1 change: 1 addition & 0 deletions client.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './dist/client/index.js'
8 changes: 1 addition & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
},
"author": "hemengke <https://github.com/hemengke1997>",
"files": [
"*.d.ts",
"CHANGELOG.md",
"README.md",
"dist",
Expand All @@ -39,13 +40,6 @@
"import": "./dist/client/index.js"
}
},
"typesVersions": {
"*": {
"client": [
"./dist/client/index.d.ts"
]
}
},
"scripts": {
"dev": "simple-git-hooks && tsup --watch",
"build": "rm -rf dist && tsup",
Expand Down

0 comments on commit 354a827

Please sign in to comment.