From ba622bd391d454f9592d1c6b1e67111d22f6c207 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Fri, 6 Mar 2026 20:18:09 -0500 Subject: [PATCH] build(typescript): update tsconfig for ES2020 module system Configure TypeScript to use ES2020 modules with bundler resolution to work properly with esbuild. Enable source maps for better debugging and update module resolution strategy for the new build pipeline. Changes: - Set module to ES2020 (was "none") - Add moduleResolution: "bundler" for esbuild compatibility - Enable sourceMap: true for development debugging - These changes align TypeScript compilation with the esbuild bundler setup --- tsconfig.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 3cd2533..d99dbcf 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,21 +1,21 @@ { "compilerOptions": { "target": "ES2020", - "module": "none", + "module": "ES2020", "lib": ["ES2020", "DOM"], "outDir": "./web/static", "rootDir": "./web/src", - "strict": true, - "esModuleInterop": true, + "moduleResolution": "bundler", "skipLibCheck": true, + "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "declaration": false, - "sourceMap": false, + "sourceMap": true, "noUnusedLocals": true, "noUnusedParameters": true, "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true + "noFallthroughCasesInSwitch": true, }, "include": ["web/src/**/*.ts"], - "exclude": ["node_modules"] + "exclude": ["node_modules"], }