From a7453b8fc356db4e32f5897eb9396c11a276b1b7 Mon Sep 17 00:00:00 2001 From: Anto Subash Date: Wed, 3 Jun 2026 21:53:57 +0200 Subject: [PATCH] fix(docs): inline root tsconfig options so VitePress deploy doesn't require @simplemodule/tsconfig The Cloudflare docs build installs only docs/site deps, so the workspace package @simplemodule/tsconfig isn't present. VitePress loads config.ts via esbuild, which reads the repo-root tsconfig.json and could not resolve its 'extends: @simplemodule/tsconfig/base', emitting a build warning. A docs-local tsconfig can't shield it because esbuild reads the root tsconfig regardless. Inline the exact base compilerOptions into the root tsconfig and drop the extends. Effective compiler options are byte-identical (verified via tsc --showConfig), so repo tooling is unaffected. --- tsconfig.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 74acc037..a70d67f0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,17 @@ { - "extends": "@simplemodule/tsconfig/base", "compilerOptions": { + "target": "ES2022", + "module": "ESNext", + "moduleResolution": "bundler", + "jsx": "react-jsx", + "strict": true, + "esModuleInterop": true, + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true, + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "allowImportingTsExtensions": true, "paths": { "@/*": ["./template/SimpleModule.Host/ClientApp/*"] }