tududi/tsconfig.json
antanst 1d4dcef1d1 Optimize webpack build speed with SWC and caching
- Replace Babel with SWC for 70-80% faster TypeScript compilation
- Add filesystem caching for 90% faster subsequent builds
- Update TypeScript config for better performance:
  - Upgrade target to ES2020
  - Use bundler moduleResolution
  - Enable incremental compilation
- Add .tsbuildinfo and webpack cache to .gitignore

Build time improved from ~5-10s to ~1.7s
2025-08-06 17:08:58 +03:00

19 lines
500 B
JSON

{
"compilerOptions": {
"target": "es2020",
"lib": ["es2020", "dom"],
"module": "esnext",
"moduleResolution": "bundler",
"jsx": "react-jsx",
"strict": false,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"allowSyntheticDefaultImports": true,
"incremental": true,
"tsBuildInfoFile": ".tsbuildinfo",
"types": ["node"]
},
"include": ["frontend/**/*"],
"exclude": ["node_modules", "dist", "backend"]
}