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:
+6
-6
@@ -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"],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user