diff --git a/tsconfig.backend.json b/tsconfig.backend.json index 0242d72..d21eba5 100644 --- a/tsconfig.backend.json +++ b/tsconfig.backend.json @@ -2,6 +2,7 @@ "extends": "./tsconfig.json", // Falls du eine allgemeine tsconfig hast "compilerOptions": { "outDir": "./dist/backend", // Zielordner für die kompilierte Backend-Dateien + "rootDir": "./backend", "module": "NodeNext", // Setze das Modul auf NodeNext "moduleResolution": "NodeNext", // NodeNext für die Modulauflösung "target": "ES2020", // Moderne JavaScript-Syntax verwenden @@ -9,9 +10,10 @@ "allowSyntheticDefaultImports": true, // Synthetische Default-Imports erlauben "allowImportingTsExtensions": true, "skipLibCheck": true, // Bibliotheken werden nicht überprüft (Optional) - "noEmit": true + "emitDeclarationOnly": true, + "composite": true }, "include": [ "backend/**/*.ts" // Nur Dateien im backend-Ordner kompilieren ] - } \ No newline at end of file +} \ No newline at end of file