- Added "rootDir" to tsconfig.build.json for improved build structure. - Implemented dynamic import for fs/promises in nest-logger.config.ts to ensure compatibility in different environments and handle directory creation more robustly.
19 lines
448 B
JSON
19 lines
448 B
JSON
{
|
|
"extends": "./tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"noEmit": false,
|
|
"incremental": true,
|
|
"tsBuildInfoFile": "./tsconfig.build.tsbuildinfo",
|
|
"outDir": "./dist",
|
|
"rootDir": "./src",
|
|
"sourceMap": true,
|
|
"declaration": false,
|
|
"removeComments": true,
|
|
"baseUrl": "./",
|
|
"paths": {
|
|
"@/*": ["src/*"]
|
|
}
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "dist", "test", "**/*.spec.ts"]
|
|
} |