Skip to content

Commit e3f02be

Browse files
authored
Clarify definition of custom output file names in docs (#911)
1 parent a036242 commit e3f02be

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,11 @@ Beside using positional arguments `tsup [...files]` to specify multiple entrypoi
162162
```bash
163163
# Outputs `dist/a.js` and `dist/b.js`.
164164
tsup --entry src/a.ts --entry src/b.ts
165+
```
166+
167+
The associated output file names can be defined as follows:
165168

169+
```bash
166170
# Outputs `dist/foo.js` and `dist/bar.js`.
167171
tsup --entry.foo src/a.ts --entry.bar src/b.ts
168172
```

0 commit comments

Comments
 (0)