mirror of
https://github.com/teamchong/pxpipe.git
synced 2026-07-22 02:02:51 +02:00
aff960f025
The exclude comment described src/dashboard as "the Svelte browser bundle — compiled separately by scripts/build-dashboard-ui.mjs ... covered by tsconfig.dashboard.json for editor + CI type-checking." None of that is true: - src/dashboard/ is server-rendered HTML (htmx + Alpine, both inlined by scripts/vendor-ui.mjs) — not Svelte, and there is no esbuild-svelte step - scripts/build-dashboard-ui.mjs and tsconfig.dashboard.json do not exist - CI (.github/workflows/ci.yml) runs only the root typecheck/test/build The exclude itself was a no-op: src/dashboard.ts (which IS in the program) imports ./dashboard/fragments.js and ./dashboard/types.js, so tsc already type-checks and emits dist/dashboard/* transitively. Verified: removing the exclude leaves typecheck green and dist/dashboard/* emits identically with or without it. Dropped both the false comment and the dead exclude entry.
31 lines
738 B
JSON
31 lines
738 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"lib": ["ES2022", "WebWorker"],
|
|
"module": "ESNext",
|
|
"moduleResolution": "Bundler",
|
|
"types": ["@cloudflare/workers-types", "node"],
|
|
"strict": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noImplicitOverride": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"skipLibCheck": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"verbatimModuleSyntax": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"outDir": "dist",
|
|
"rootDir": "src"
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist",
|
|
"legacy"
|
|
]
|
|
}
|