From f1bc9f4f40ccce2414eca6f1d15813bb865467e2 Mon Sep 17 00:00:00 2001 From: KenTandrian Date: Wed, 19 Aug 2026 23:40:29 +0700 Subject: [PATCH] feat(api): migrate tsconfig module to preserve --- apps/api/tsconfig.app.json | 4 +--- apps/api/tsconfig.spec.json | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/apps/api/tsconfig.app.json b/apps/api/tsconfig.app.json index 27aa457f1..8624cf568 100644 --- a/apps/api/tsconfig.app.json +++ b/apps/api/tsconfig.app.json @@ -4,10 +4,8 @@ "outDir": "../../dist/out-tsc", "types": ["node"], "emitDecoratorMetadata": true, - "ignoreDeprecations": "6.0", - "moduleResolution": "node10", "target": "es2021", - "module": "commonjs" + "module": "preserve" }, "exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"], "include": ["**/*.ts"] diff --git a/apps/api/tsconfig.spec.json b/apps/api/tsconfig.spec.json index 934e28503..e5f982722 100644 --- a/apps/api/tsconfig.spec.json +++ b/apps/api/tsconfig.spec.json @@ -2,8 +2,7 @@ "extends": "./tsconfig.json", "compilerOptions": { "outDir": "../../dist/out-tsc", - "module": "commonjs", - "moduleResolution": "node10", + "module": "preserve", "types": ["jest", "node"] }, "include": ["**/*.spec.ts", "**/*.test.ts", "**/*.d.ts", "jest.config.ts"]