-
Notifications
You must be signed in to change notification settings - Fork 46
/
tsconfig.json
31 lines (31 loc) · 884 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": {
"target": "esnext",
"module": "esnext",
// "useDefineForClassFields": true,
"moduleResolution": "bundler",
"strict": true,
"jsx": "preserve",
"strictNullChecks": false,
"sourceMap": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"strictFunctionTypes": false,
"lib": ["esnext", "dom"],
"noImplicitAny": false,
"baseUrl": ".",
"allowJs": true,
"experimentalDecorators": true,
"paths": {
"@/*": ["src/*"]
},
"types": ["vite/client"],
"skipLibCheck": true,
"removeComments": true,
// 允许默认导入
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true
},
"include": ["src/**/*.ts", "src/**/*.vue", "src/types/**/*.d.ts", "vite.config.ts"],
"exclude": ["node_modules", "dist", "**/*.js", "**/*.md", "src/**/*.md"]
}