CognxSafeTrack commited on
Commit
785a2fd
·
1 Parent(s): d11ce48

fix(tsconfig): override base with Node.js backend settings (CommonJS, node moduleResolution)

Browse files
Files changed (1) hide show
  1. apps/api/tsconfig.json +11 -1
apps/api/tsconfig.json CHANGED
@@ -2,7 +2,17 @@
2
  "extends": "@repo/tsconfig/base.json",
3
  "compilerOptions": {
4
  "outDir": "dist",
5
- "rootDir": "src"
 
 
 
 
 
 
 
 
 
 
6
  },
7
  "include": [
8
  "src/**/*"
 
2
  "extends": "@repo/tsconfig/base.json",
3
  "compilerOptions": {
4
  "outDir": "dist",
5
+ "rootDir": "src",
6
+ "module": "CommonJS",
7
+ "moduleResolution": "node",
8
+ "noEmit": false,
9
+ "allowImportingTsExtensions": false,
10
+ "target": "ES2020",
11
+ "lib": [
12
+ "ES2020"
13
+ ],
14
+ "esModuleInterop": true,
15
+ "allowSyntheticDefaultImports": true
16
  },
17
  "include": [
18
  "src/**/*"