-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
26 lines (26 loc) · 1 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"compilerOptions": {
"target": "ESNext", // Specify the ECMAScript target version
"module": "commonjs", // Specify the module system
"rootDir": "src", // Specify the root directory of your source files
"outDir": "dist", // Specify the output directory for compiled files
"strict": true, // Enable strict type-checking
"esModuleInterop": true, // Enable interoperability between CommonJS and ES Modules
"declaration": true, // Generate declaration files (.d.ts)
"sourceMap": true, // Generate source maps for easier debugging
"baseUrl": "./", // Base URL of the application.
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
// Custom Path aliasing for a cleaner developer experience.
"paths": {
"@/*": ["src/*"] // Specify root path.
}
},
"include": [
"src/**/*.ts", // Specify the files to be included for compilation
"src/server.ts"
],
"exclude": [
"node_modules" // Specify the files to be excluded from compilation
]
}