-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
53 lines (53 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
47
48
49
50
51
52
53
{
"compilerOptions": {
"baseUrl": ".",
"module": "esnext",
"target": "esnext",
"lib": [
"esnext",
"dom"
],
"strict": true,
"jsx": "preserve",
"esModuleInterop": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"noUnusedLocals": true,
"strictNullChecks": true,
"allowJs": true,
"forceConsistentCasingInFileNames": true,
"sourceMap": true,
"useDefineForClassFields": true,
"types": [
"vite/client",
"vite-plugin-pages/client",
"unplugin-vue-macros/macros-global",
"element-plus/global",
"vite-plugin-vue-component-preview/client"
],
// baseUrl来告诉编译器到哪里去查找模块,所有非相对模块导入都会被当做相对于 baseUrl。
// 非相对模块导入的路径映射配置
"paths": {
"~/*": [
"src/*"
]
}
},
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.vue"
],
"vueCompilerOptions": {
"plugins": [
"@vue-macros/volar/define-model",
"@vue-macros/volar/define-slots"
]
},
"exclude": [
"dist",
"node_modules",
"cypress"
]
}