-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtsconfig.json
41 lines (41 loc) · 1.02 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
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"strict": false,
"jsx": "preserve",
"importHelpers": true,
"moduleResolution": "node",
"experimentalDecorators": true,
"skipLibCheck": true,
"esModuleInterop": true,
"isolatedModules": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"sourceMap": true,
"baseUrl": ".",
"allowJs": false,
"resolveJsonModule": true, // 包含导入的模块。json的扩展
"lib": ["dom", "esnext"],
"incremental": true,
"paths": {
"/@/*": ["src/*"],
"/#/*": ["types/*"]
},
"types": ["node", "vite/client"],
"typeRoots": ["./node_modules/@types/", "./types"]
},
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"src/**/*.vue",
"tests/**/*.ts",
"src/utils/path.js",
"types/**/*.d.ts",
"types/**/*.ts",
"types/global.d.ts",
"types/shims-tsx.d.ts",
"types/shims-vue.d.ts"
],
"exclude": ["node_modules", "dist", "**/*.js"]
}