40 lines
1010 B
JSON
40 lines
1010 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "esnext",
|
|
"module": "esnext", // Wichtig: modernes Modul-System
|
|
"moduleResolution": "node", // Damit Aliase zuverlässig aufgelöst werden
|
|
"jsx": "preserve",
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"noEmit": true,
|
|
"skipLibCheck": true,
|
|
"types": ["cypress", "node"],
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"incremental": true,
|
|
|
|
// 👉 Wichtig: Basis & Pfade setzen
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["./*"],
|
|
"@/redux/*": ["./redux/*"],
|
|
"@/utils/*": ["./utils/*"],
|
|
"@/components/*": ["./components/*"],
|
|
"@/services/*": ["./services/*"],
|
|
"@/types/*": ["./types/*"]
|
|
}
|
|
},
|
|
|
|
"include": [
|
|
".", // Projekt-Root
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
"types/global.d.ts" // falls du globale Typen nutzt
|
|
],
|
|
|
|
"exclude": ["node_modules", ".next", "out"]
|
|
}
|