TypeScript emits an informational diagnostic when source files span multiple top-level dirs (src/ + tests/) without explicit rootDir. Setting rootDir="." satisfies the recommendation and matches the include pattern. Updates blog, auth, marketing-pages — and Plan 4 doc so navigation (still pending) starts correct. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
15 lines
302 B
JSON
15 lines
302 B
JSON
{
|
|
"extends": "@repo/typescript-config/base.json",
|
|
"compilerOptions": {
|
|
"outDir": "dist",
|
|
"rootDir": ".",
|
|
"lib": ["ES2022", "DOM"],
|
|
"jsx": "preserve",
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
}
|
|
},
|
|
"include": ["src/**/*", "tests/**/*"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|