Fix: drop tsc project-references; build was failing in Docker

The composite-mode + project-references setup broke `@/*` path alias
resolution inside the Docker stage 1 build (worked locally because tsc's
incremental cache was warm). Switch to a single tsconfig with
`tsc --noEmit && vite build` — Vite handles the alias via its own
resolver, so we only use tsc as a type-checker.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-25 12:39:46 +00:00
parent 164c678fa9
commit 62bac71ab6
3 changed files with 3 additions and 26 deletions
+2 -5
View File
@@ -1,6 +1,5 @@
{
"compilerOptions": {
"composite": true,
"target": "ES2022",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"module": "ESNext",
@@ -19,9 +18,7 @@
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
},
"tsBuildInfoFile": "./.tsbuildinfo"
}
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]
"include": ["src", "vite.config.ts"]
}