From 9457daffaf8de1b2fd216b27673fcf705c8695e5 Mon Sep 17 00:00:00 2001 From: Michael Sitarzewski Date: Mon, 22 Jun 2026 10:22:22 -0500 Subject: [PATCH] fix(web): build with `tsc --noEmit` so it stops emitting .d.ts files `tsc -b` (build mode) emitted declaration files into src/ despite the tsconfig's `noEmit: true` (a build-mode footgun), polluting the tree with ~89 generated .d.ts on every build. There are no project references here, so plain `tsc --noEmit` type-checks correctly and Vite handles bundling. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01EkrekgzMAQko92UkjnXhHL --- web/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/package.json b/web/package.json index 84d2c74..60178cf 100644 --- a/web/package.json +++ b/web/package.json @@ -6,7 +6,7 @@ "type": "module", "scripts": { "dev": "vite", - "build": "tsc -b && vite build", + "build": "tsc --noEmit && vite build", "preview": "vite preview", "test": "vitest run", "test:watch": "vitest",