-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathtsconfig.json
36 lines (36 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
27
28
29
30
31
32
33
34
35
36
{
"compilerOptions": {
"experimentalDecorators": true,
"module": "ESNext",
"target": "ES2022",
"moduleResolution": "bundler",
// 在 ./vendor 文件中添加一个 wrapper 来避免启用这个选项。
"allowSyntheticDefaultImports": false,
"useUnknownInCatchVariables": true,
"esModuleInterop": false,
"allowJs": true,
"noImplicitAny": true,
"noUncheckedIndexedAccess": true,
"strict": true,
"lib": ["ES2022"],
"skipLibCheck": true,
"strictNullChecks": true,
"allowImportingTsExtensions": true,
"forceConsistentCasingInFileNames": true,
"verbatimModuleSyntax": true,
"pretty": true,
"sourceMap": false,
"declaration": false,
"noEmit": true,
"rootDir": ".",
"baseUrl": ".",
"resolveJsonModule": true,
"types": ["node"],
"paths": {
// 生产环境依赖 tsx/esm 进行加载
// 测试环境需要设置 vitest.config.ts 的 resolve.alias
"@app/*": ["./*"]
}
},
"exclude": ["drizzle/new/"]
}