Skip to content

Commit c972902

Browse files
committed
refactor(generators): remove unused rootDir & outDir, add baseUrl to tsconfig.json
1 parent 967af91 commit c972902

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

generators/app/templates/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
"moduleResolution": "node",
44
"module": "commonjs",
55
"target": "es6",
6-
"rootDir": "src",
7-
"outDir": "build",
6+
"baseUrl": ".",
87
"esModuleInterop": true,
98
"preserveConstEnums": true,
109
"removeComments": true,

generators/with-mongo/templates/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
"moduleResolution": "node",
44
"module": "commonjs",
55
"target": "es6",
6-
"rootDir": "src",
7-
"outDir": "build",
6+
"baseUrl": ".",
87
"esModuleInterop": true,
98
"preserveConstEnums": true,
109
"removeComments": true,

generators/with-postgres/templates/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
"moduleResolution": "node",
44
"module": "commonjs",
55
"target": "es6",
6-
"rootDir": "src",
7-
"outDir": "build",
6+
"baseUrl": ".",
87
"esModuleInterop": true,
98
"preserveConstEnums": true,
109
"removeComments": true,

0 commit comments

Comments
 (0)