Skip to content

Commit

Permalink
feat(cli): add types.ts to entryPoints in tsup.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
productdevbook committed Dec 31, 2023
1 parent 34abc3b commit c43df91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
"./core": {
"types": "./dist/core.d.ts",
"import": "./dist/core.js"
},
"./types": {
"types": "./dist/types.d.ts"
}
},
"main": "./dist/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/cli/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export default <Options>{
entryPoints: [
'src/index.ts',
'src/core.ts',
'src/types.ts',
],
outDir: 'dist',
target: 'esnext',
Expand Down

0 comments on commit c43df91

Please sign in to comment.