Skip to content

Commit

Permalink
Clarify definition of custom output file names in docs (#911)
Browse files Browse the repository at this point in the history
  • Loading branch information
paescuj authored Jun 16, 2023
1 parent a036242 commit e3f02be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,11 @@ Beside using positional arguments `tsup [...files]` to specify multiple entrypoi
```bash
# Outputs `dist/a.js` and `dist/b.js`.
tsup --entry src/a.ts --entry src/b.ts
```

The associated output file names can be defined as follows:

```bash
# Outputs `dist/foo.js` and `dist/bar.js`.
tsup --entry.foo src/a.ts --entry.bar src/b.ts
```
Expand Down

0 comments on commit e3f02be

Please sign in to comment.