From c1deb7a6d3aa270d215bdccc98b4070556335919 Mon Sep 17 00:00:00 2001 From: Prateek Date: Fri, 13 Feb 2026 18:39:52 +0530 Subject: [PATCH] fix: override rootDir in web tsconfig to "." for Next.js compat Next.js generates .next/types/ files that must be under rootDir. Base tsconfig sets rootDir to "src", web needs "." to include both src/ and .next/types/. Co-Authored-By: Claude Opus 4.6 --- packages/web/tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/web/tsconfig.json b/packages/web/tsconfig.json index 0656712b4..8d8f525eb 100644 --- a/packages/web/tsconfig.json +++ b/packages/web/tsconfig.json @@ -2,6 +2,7 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "outDir": "dist", + "rootDir": ".", "jsx": "preserve", "module": "ESNext", "moduleResolution": "Bundler",