From c93073276e6526dd5e2b41d26e6fa7e1bceb9a6a Mon Sep 17 00:00:00 2001 From: uiolee <22849383+uiolee@users.noreply.github.com> Date: Wed, 27 Dec 2023 16:49:21 +0800 Subject: [PATCH] build(tsc): fix tsconfig for `tsc -b --watch` --- tsconfig.json | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 7a1763dc..0c39663c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,15 +6,9 @@ "outDir": "dist", "declaration": true, "esModuleInterop": true, - "types": [ - "node" - ], + "types": ["node"], "lib": ["ES2020", "ES2019"] }, - "include": [ - "lib/index.ts" - ], - "exclude": [ - "node_modules" - ] -} \ No newline at end of file + "include": ["lib/**.ts"], + "exclude": ["node_modules"] +}