From c5801c4e7ae7320f713c58662412a0a06d246dad Mon Sep 17 00:00:00 2001 From: Christopher Hase Date: Thu, 10 Apr 2025 15:33:20 +0200 Subject: [PATCH] add http-server part 6.4 --- tsconfig.backend.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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