-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
31 lines (31 loc) · 924 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
{
"compilerOptions": {
"baseUrl": "./",
"target": "esnext",
"useDefineForClassFields": true,
"module": "esnext",
"moduleResolution": "node",
"strict": true,
"jsx": "preserve",
"sourceMap": true,
"resolveJsonModule": true,
"isolatedModules": true,
"esModuleInterop": true,
"lib": ["esnext", "dom"],
"skipLibCheck": true,
"paths": {
"@/*": ["src/*"]
},
"allowJs": true,
"outDir": "dist",
"declaration": true,
"types": [
"node",
"vite/client" // if using vite
]
},
// "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
"include": ["src/index.ts", "src/**/*.d.ts", "src/components/**/*.vue", "src/configs/**/*.ts", "src/data/**/*.json", "src/helpers/**/*.ts", "src/types/**/*.ts", "src/validators/**/*.ts"],
// "exclude": ["src/main.ts"],
"references": [{ "path": "./tsconfig.node.json" }]
}