-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.build.json
More file actions
30 lines (30 loc) · 913 Bytes
/
tsconfig.build.json
File metadata and controls
30 lines (30 loc) · 913 Bytes
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
{
"compilerOptions": {
"declaration": true,
"declarationMap": false, // 如果设为true,会为.d.ts文件生成sourcemap
"target": "esnext",
"module": "esnext",
"jsx": "react",
"incremental": false,
"moduleResolution": "node",
"strict": true,
"allowJs": true,
"lib": ["esnext"],
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,
"downlevelIteration": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": false
},
"exclude": ["**/*.(spec|test).ts?(x)", "build", "dist", "lib", "__tests__", "jest", "example"]
}