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
This commit is contained in:
2026-03-06 20:18:09 -05:00
parent e16923395b
commit ba622bd391
+6 -6
View File
@@ -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"],
}