chore: enhance TypeScript compiler configuration

Improves build performance and developer experience by enabling incremental compilation and adding essential compiler options.

Enables incremental builds with build info caching to speed up subsequent compilations.

Adds modern module resolution and interoperability options for better compatibility with bundlers and JavaScript modules.

Enforces stricter type checking with isolated modules and consistent file naming conventions.
This commit is contained in:
Uruk
2025-10-09 16:09:40 +02:00
parent c53acb16fc
commit 2b2797005a

View File

@@ -6,7 +6,17 @@
"jsxImportSource": "react", "jsxImportSource": "react",
"paths": { "paths": {
"@/*": ["./*"] "@/*": ["./*"]
} },
"incremental": true,
"tsBuildInfoFile": ".tsbuildinfo",
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true
}, },
"include": [ "include": [
"app/**/*", "app/**/*",