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 express from 'express';
|
||||||
import { executeCommand } from './broker.ts';
|
import { executeCommand } from './broker.js';
|
||||||
|
//import { executeCommand } from './broker';
|
||||||
|
|
||||||
|
|
||||||
const app = express();
|
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": {
|
"compilerOptions": {
|
||||||
"outDir": "./dist/backend", // Zielordner für die kompilierte Backend-Dateien
|
"outDir": "./dist/backend",
|
||||||
"rootDir": "./backend",
|
"rootDir": "./backend",
|
||||||
"module": "NodeNext", // Setze das Modul auf NodeNext
|
"target": "ES2020",
|
||||||
"moduleResolution": "NodeNext", // NodeNext für die Modulauflösung
|
"module": "NodeNext",
|
||||||
"target": "ES2020", // Moderne JavaScript-Syntax verwenden
|
"moduleResolution": "NodeNext",
|
||||||
"esModuleInterop": true, // Interoperabilität mit CommonJS- und ES-Modulen
|
"esModuleInterop": true,
|
||||||
"allowSyntheticDefaultImports": true, // Synthetische Default-Imports erlauben
|
"allowSyntheticDefaultImports": true,
|
||||||
"allowImportingTsExtensions": true,
|
"skipLibCheck": true
|
||||||
"skipLibCheck": true, // Bibliotheken werden nicht überprüft (Optional)
|
|
||||||
"emitDeclarationOnly": true,
|
|
||||||
"composite": true
|
|
||||||
},
|
},
|
||||||
"include": [
|
"include": ["backend/**/*.ts"]
|
||||||
"backend/**/*.ts" // Nur Dateien im backend-Ordner kompilieren
|
}
|
||||||
]
|
|
||||||
}
|
|
Loading…
Reference in a new issue