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 <noreply@anthropic.com>
This commit is contained in:
parent
d9cadbaa15
commit
c1deb7a6d3
|
|
@ -2,6 +2,7 @@
|
|||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "dist",
|
||||
"rootDir": ".",
|
||||
"jsx": "preserve",
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Bundler",
|
||||
|
|
|
|||
Loading…
Reference in New Issue