add http-server part 6.5
This commit is contained in:
parent
c5801c4e7a
commit
86c5e96aef
3 changed files with 31 additions and 16 deletions
|
@ -1,5 +1,6 @@
|
|||
import express from 'express';
|
||||
import { executeCommand } from './broker.ts';
|
||||
import { executeCommand } from './broker.js';
|
||||
//import { executeCommand } from './broker';
|
||||
|
||||
|
||||
const app = express();
|
||||
|
|
19
old.tsconfig.backend.json
Normal file
19
old.tsconfig.backend.json
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"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
|
||||
"esModuleInterop": true, // Interoperabilität mit CommonJS- und ES-Modulen
|
||||
"allowSyntheticDefaultImports": true, // Synthetische Default-Imports erlauben
|
||||
"allowImportingTsExtensions": true,
|
||||
"skipLibCheck": true, // Bibliotheken werden nicht überprüft (Optional)
|
||||
"emitDeclarationOnly": true,
|
||||
"composite": true
|
||||
},
|
||||
"include": [
|
||||
"backend/**/*.ts" // Nur Dateien im backend-Ordner kompilieren
|
||||
]
|
||||
}
|
|
@ -1,19 +1,14 @@
|
|||
{
|
||||
"extends": "./tsconfig.json", // Falls du eine allgemeine tsconfig hast
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./dist/backend", // Zielordner für die kompilierte Backend-Dateien
|
||||
"outDir": "./dist/backend",
|
||||
"rootDir": "./backend",
|
||||
"module": "NodeNext", // Setze das Modul auf NodeNext
|
||||
"moduleResolution": "NodeNext", // NodeNext für die Modulauflösung
|
||||
"target": "ES2020", // Moderne JavaScript-Syntax verwenden
|
||||
"esModuleInterop": true, // Interoperabilität mit CommonJS- und ES-Modulen
|
||||
"allowSyntheticDefaultImports": true, // Synthetische Default-Imports erlauben
|
||||
"allowImportingTsExtensions": true,
|
||||
"skipLibCheck": true, // Bibliotheken werden nicht überprüft (Optional)
|
||||
"emitDeclarationOnly": true,
|
||||
"composite": true
|
||||
"target": "ES2020",
|
||||
"module": "NodeNext",
|
||||
"moduleResolution": "NodeNext",
|
||||
"esModuleInterop": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"skipLibCheck": true
|
||||
},
|
||||
"include": [
|
||||
"backend/**/*.ts" // Nur Dateien im backend-Ordner kompilieren
|
||||
]
|
||||
}
|
||||
"include": ["backend/**/*.ts"]
|
||||
}
|
Loading…
Reference in a new issue