From e901ff99b04538c5b240da96bfe38c54246711a0 Mon Sep 17 00:00:00 2001 From: eneller Date: Sat, 28 Feb 2026 01:33:59 +0100 Subject: [PATCH] build: fix tsconfig --- client/tsconfig.app.json | 2 +- client/tsconfig.json | 3 +-- client/tsconfig.spec.json | 2 +- tsconfig.json | 4 ++-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/client/tsconfig.app.json b/client/tsconfig.app.json index 662c293..df67308 100644 --- a/client/tsconfig.app.json +++ b/client/tsconfig.app.json @@ -3,7 +3,7 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "outDir": "./out-tsc/app", + "outDir": "../dist/out-tsc/client", "types": ["@angular/localize"] }, "include": ["src/**/*.ts"], diff --git a/client/tsconfig.json b/client/tsconfig.json index ccb3156..b769d31 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,7 +1,7 @@ /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "compileOnSave": false, "compilerOptions": { "strict": true, @@ -14,7 +14,6 @@ "experimentalDecorators": true, "importHelpers": true, "target": "ES2022", - "module": "preserve" }, "angularCompilerOptions": { "enableI18nLegacyMessageIdFormat": false, diff --git a/client/tsconfig.spec.json b/client/tsconfig.spec.json index ce3255e..e84b580 100644 --- a/client/tsconfig.spec.json +++ b/client/tsconfig.spec.json @@ -3,7 +3,7 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "outDir": "./out-tsc/spec", + "outDir": "../dist/out-tsc/spec", "types": ["vitest/globals", "@angular/localize"] }, "include": ["src/**/*.d.ts", "src/**/*.spec.ts"] diff --git a/tsconfig.json b/tsconfig.json index 6b7fe2f..9462d83 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,11 +5,11 @@ "outDir": "./dist/out-tsc", "sourceMap": true, "declaration": false, - "moduleResolution": "node", + "moduleResolution": "nodenext", "emitDecoratorMetadata": true, "experimentalDecorators": true, "target": "es2017", - "module": "es2020", + "module": "nodenext", "lib": ["es2020", "dom"] }, "exclude": ["node_modules"]