From c9825687b49d42f68108cfb670bc511eaff2e723 Mon Sep 17 00:00:00 2001 From: Guo Yunhe Date: Sat, 11 Feb 2023 16:26:40 +0800 Subject: [PATCH] docs --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 11e081b..bd4bf3a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -55,6 +55,7 @@ export async function bundleDts({ outFile = join(process.cwd(), 'dist', 'index.d.ts'), }: BundleDtsOptions) { // Temp directory for un-bundled .d.ts files + // Must NOT be placed in node_modules/.cache. Otherwise, files will be ignored. const rawDir = join(process.cwd(), '.bundle-dts'); const rawEntry = join(rawDir, entry + '.d.ts');