refactor(config): consolidate tsconfig path aliases and remove redundancy

- Move declaration/declarationMap: false to root (was duplicated in both
  child configs)
- Remove duplicate baseUrl/paths from tsconfig.web.json (now inherited
  from root)
- tsconfig.web.json and tsconfig.server.json now only declare their own
  unique options (jsx and types respectively)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
saltbo
2026-04-20 16:30:16 -04:00
co-authored by Copilot
parent 630e8c9fc4
commit a08ebcaef8
3 changed files with 4 additions and 14 deletions
+1 -3
View File
@@ -1,9 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"types": ["@cloudflare/workers-types"],
"declaration": false,
"declarationMap": false
"types": ["@cloudflare/workers-types"]
},
"include": ["server", "shared", "workers"],
"exclude": ["server/**/*.cf-test.ts", "workers/**/*.cf-test.ts", "server/test/apply-migrations.ts"]