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"]