-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
24 lines (22 loc) · 955 Bytes
/
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
{
"compilerOptions": {
"target": "es2022",
"module": "commonjs",
// -- Base
"rootDir": ".", // set root dir for source files (this is the path we will start building from in the output dir)
"outDir": "./dist", // set output dir for build files
// -- Misc
"removeComments": true,
"allowSyntheticDefaultImports": true,
"sourceMap": true, // help with debugging by mapping the compiled code back to the original source
"incremental": true, // incremental build to speed up the build process
"skipLibCheck": true, // ignore node_modules
"strictNullChecks": true, // allow null checks for Zod infers to work
"noImplicitAny": false, // allow any type
"strictBindCallApply": false, // allow bind, call and apply to work
"esModuleInterop": true, // allow import es modules
"allowJs": true // allow .js files
},
"include": ["src/**/*", "prisma/**/*"],
"exclude": ["node_modules", "dist"]
}