mirror of
https://github.com/saltbo/zpan.git
synced 2026-09-21 04:59:47 +08:00
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:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user