-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
52 lines (45 loc) · 1.25 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
51
52
{
"compilerOptions": {
"baseUrl": ".",
"rootDir": ".",
"target": "ES2015",
"useDefineForClassFields": true,
"lib": ["ES2015", "DOM", "DOM.Iterable", "ScriptHost"],
"module": "ESNext",
"skipLibCheck": false,
"allowJs": true,
"typeRoots": ["*.d.ts"],
"types": ["vite/client"],
/* Bundler mode */
"esModuleInterop": true,
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"outDir": "build",
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
/* Path */
"paths": {
"@src/*": ["src/*"],
"@app/*": ["src/app/*"],
"@assets/*": ["src/assets/*"],
"@styles/*": ["src/assets/styles/*"],
"@icon/*": ["src/assets/icon/*"],
"@icon": ["src/assets/icon/index.ts"],
"@components/*": ["src/components/*"],
"@components": ["src/components/index.ts"],
"@ui/*": ["src/ui/*"],
"@ui": ["src/ui/index.ts"],
"@util/*": ["src/util/*"],
"@util": ["src/util/index.ts"],
"@views/*": ["src/views/*"]
}
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]
}