-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.json
38 lines (38 loc) · 1013 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
37
38
{
"compilerOptions": {
"baseUrl": "./",
"strict": true,
"lib": ["dom", "dom.iterable", "esnext"],
"typeRoots": ["./src/client/types"],
"paths": {
"@/*": ["src/client/*"],
"@store/*": ["src/client/store/*"],
"@library/*": ["src/client/library/*"],
"@modules/*": ["src/client/modules/*"],
"@style/*": ["src/client/style/*"],
"@components/*": ["src/client/components/*"],
"@dist/*": ["dist/*"]
},
"types": ["node", "webpack-env"],
"target": "es6",
"module": "esnext",
"jsx": "react",
"moduleResolution": "node",
"noImplicitAny": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"importHelpers": true,
"noEmit": true, // 不生成输出文件
"allowJs": true
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
},
"include": ["./src/**/*"],
"exclude": ["node_modules"]
}