From 5528d27c8f479edd5d650467de656a52d7fa941a Mon Sep 17 00:00:00 2001 From: Thomas Camlong Date: Mon, 18 May 2026 18:37:22 +0200 Subject: [PATCH] perf(typecheck): exclude bundled .cjs/.css from tsc websocket (835K lines) and tasks (755K lines) had bundled output files being typechecked due to `include: ["."]` in their tsconfig. Full typecheck drops from ~70s to ~26s. --- apps/tasks/tsconfig.json | 2 +- apps/websocket/tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/tasks/tsconfig.json b/apps/tasks/tsconfig.json index 51e14eb17..a7d26c2c3 100644 --- a/apps/tasks/tsconfig.json +++ b/apps/tasks/tsconfig.json @@ -9,5 +9,5 @@ "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json" }, "include": ["."], - "exclude": ["node_modules"] + "exclude": ["node_modules", "*.cjs", "*.css"] } diff --git a/apps/websocket/tsconfig.json b/apps/websocket/tsconfig.json index 51e14eb17..a7d26c2c3 100644 --- a/apps/websocket/tsconfig.json +++ b/apps/websocket/tsconfig.json @@ -9,5 +9,5 @@ "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json" }, "include": ["."], - "exclude": ["node_modules"] + "exclude": ["node_modules", "*.cjs", "*.css"] }