Skip to content

Commit ee7c7a1

Browse files
Updated tsconfig to work with ts/nest.js better.
1 parent a6b3ff2 commit ee7c7a1

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

tsconfig.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
{
22
"compilerOptions": {
3-
"module": "commonjs",
3+
"module": "esnext",
4+
5+
"moduleResolution": "bundler",
6+
"resolveJsonModule": true,
7+
"isolatedModules": true,
8+
"jsx": "preserve",
9+
10+
411
"declaration": true,
512
"removeComments": true,
613
"emitDecoratorMetadata": true,
@@ -19,5 +26,5 @@
1926
"noFallthroughCasesInSwitch": false
2027
},
2128
"exclude": ["node_modules", "dist"],
22-
"include": ["src/**/*"]
29+
"include": ["src/**/*", "**/*.cjs"]
2330
}

0 commit comments

Comments
 (0)