From e3f02be280e63e4fb620536b09f17a2c68149d44 Mon Sep 17 00:00:00 2001 From: Pascal Jufer Date: Fri, 16 Jun 2023 08:56:33 +0200 Subject: [PATCH] Clarify definition of custom output file names in docs (#911) --- docs/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/README.md b/docs/README.md index a021e6bca..8c88d291b 100644 --- a/docs/README.md +++ b/docs/README.md @@ -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 ```