Skip to content

Commit

Permalink
[cli]: append ts extension for entry of tsup
Browse files Browse the repository at this point in the history
  • Loading branch information
zgid123 committed Jun 12, 2024
1 parent 857e332 commit 581af27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@grpc.ts/cli",
"version": "1.2.1",
"version": "1.2.2",
"license": "MIT",
"directories": {
"lib": "lib"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async function createTsupConfig(
let entry: string[] = generatedFiles.map(({ filename }) => filename);

if (multiEntries) {
entry = entry.map((filename) => `src/${filename}`);
entry = entry.map((filename) => `src/${filename}.ts`);
} else {
entry = ['src/index.ts'];
}
Expand Down

0 comments on commit 581af27

Please sign in to comment.