-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtsconfig.json
50 lines (50 loc) · 1.12 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"lib": [
"ES2015",
"ES2016",
"ES2017",
"ES2018",
"ES2019",
"ES2020",
"DOM"
],
"jsx": "react",
"sourceMap": true,
"declaration": true,
"rootDir": "src",
"outDir": "./dist/",
"strict": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"moduleResolution": "node",
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"baseUrl": ".",
"paths": {
"@/*" :["./src/*"],
"@hook/*" :["./src/hook/*"],
"@style/*" :["./src/style/*"],
"@api/*" :["./src/api/*"],
"@assets/*" :[ "./src/assets/*"],
"@icon/*" :[ "./src/assets/icon/*"],
"@image/*" :[ "./src/assets/image/*"],
"@components/*" :["./src/components/*"],
"@constant/*" :["./src/constant/*"],
"@store/*" :["./src/store/*"],
"@util/*" :[ "./src/util/*"],
},
},
"exclude": [
"node_modules",
"dist"
],
"include": [
"./src/**/*",
]
}