From 68d562a91f7ccec3bf759351c935e0b606dc590a Mon Sep 17 00:00:00 2001 From: Gavin Sharp Date: Mon, 17 Oct 2022 15:19:57 -0400 Subject: [PATCH] clarify documentation regarding `clean` option I noticed [via code inspection] that specifying `clean: true` does not remove `*.d.ts` files by default, which was unexpected to me. This updates the documentation for this option to clarify that. --- src/options.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options.ts b/src/options.ts index e17333d8..ae3c11a2 100644 --- a/src/options.ts +++ b/src/options.ts @@ -105,7 +105,7 @@ export type Options = { */ splitting?: boolean /** - * Clean output directory before each build + * Clean output directory before each build. Does not remove `*.d.ts` files by default. */ clean?: boolean | string[] esbuildPlugins?: EsbuildPlugin[]