From 0848e7064e684b4ace1cb4e0f1962002c29297d7 Mon Sep 17 00:00:00 2001 From: Kenrick Tandrian <60643640+KenTandrian@users.noreply.github.com> Date: Mon, 29 Dec 2025 11:12:28 +0000 Subject: [PATCH] fix(ts): change module and moduleResolution for api --- apps/api/tsconfig.app.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/api/tsconfig.app.json b/apps/api/tsconfig.app.json index 655120714..45a4f8367 100644 --- a/apps/api/tsconfig.app.json +++ b/apps/api/tsconfig.app.json @@ -1,11 +1,12 @@ { "extends": "./tsconfig.json", "compilerOptions": { + "moduleResolution": "bundler", "outDir": "../../dist/out-tsc", "types": ["node"], "emitDecoratorMetadata": true, "target": "es2021", - "module": "commonjs" + "module": "preserve" }, "exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"], "include": ["**/*.ts"]