From 791f42dae50aef5f89bea5f021a1dd46e8084f11 Mon Sep 17 00:00:00 2001 From: Pascal Jufer Date: Mon, 22 May 2023 17:22:30 +0200 Subject: [PATCH] Clarify definition of custom output file names in docs --- docs/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/README.md b/docs/README.md index a021e6bc..8c88d291 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 ```