-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
36 lines (36 loc) · 989 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
25
26
27
28
29
30
31
32
33
34
35
36
{
"ts-node": { // 这个是属于ts-node去编译配置文件的时候会执行的配置和开发的配置有所不同
"compilerOptions": {
"module": "commonjs",
"target": "es5",
"sourceMap": true,
"removeComments": true,
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"moduleResolution": "node",
"baseUrl": "./",
"typeRoots": ["node_modules/@types"],
"esModuleInterop": true
},
"exclude": ["node_modules"],
},
"compilerOptions": {
"target": "es6",
"module": "esnext",
"jsx": "react",
"sourceMap": true,
"removeComments": true,
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"moduleResolution": "node",
"baseUrl": "./",
"typeRoots": ["node_modules/@types"],
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"experimentalDecorators": true
},
"exclude": ["node_modules"],
"include": ["src/*"]
}