-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtsconfig.json
46 lines (46 loc) · 1.17 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
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"declaration": true,
"skipLibCheck": false,
"moduleResolution": "node",
"strict": true,
"allowJs": true,
"jsx": "preserve",
"jsxFactory": "React.createElement",
"sourceMap": true,
"esModuleInterop": true,
"lib": ["ES2018.Promise", "dom", "esnext"],
"types": ["vite/client", "naive-ui/volar", "node"],
"typeRoots": ["./node_modules/@types"],
"outDir": "./dist",
"resolveJsonModule": true,
"baseUrl": ".",
"paths": {
"@/*": ["src/*"],
"@assets/*": ["./src/assets/*"],
"@styles/*": ["./src/assets/*"],
"@components/*": ["./src/components/*"],
"@views/*": ["./src/views/*"],
"@pinia/*": ["./src/pinia/*"],
"@api/*": ["./src/api/*"],
"@utils/*": ["./src/utils/*"],
"@type/*": ["./src/type/*"],
"@public/*": ["./public/*"]
}
},
"include": [
"src/**/*.js",
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.d.tsx",
"src/**/*.vue",
"build/**/*.ts",
"build/**/*.d.ts",
"mock/**/*.ts",
"vite.config.ts"
],
"exclude": ["node_modules", "dist", "axios"]
}