-
Notifications
You must be signed in to change notification settings - Fork 16
/
tsconfig.json
38 lines (35 loc) · 1.08 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
{
"compilerOptions": {
"incremental": true,
"composite": true,
"target": "esnext",
"module": "esnext",
"useDefineForClassFields": true,
"declaration": true,
"removeComments": true,
"sourceMap": true,
"esModuleInterop": true,
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
"types": ["vite/client", "node", "vitest/globals"],
/* 路径别名 */
"baseUrl": "./",
"paths": {
"@/*": ["./examples/*"],
"~/*": ["./packages/*"],
"^/*": ["./mobile/*"],
"#/*": ["./dist/packages/*"]
},
/* 模块解析策略 */
"moduleResolution": "Bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "preserve",
/* 校验 */
"strict": true
},
"include": ["examples/**/*.ts", "examples/**/*.vue", "mobile/**/*.ts", "mobile/**/*.vue", "tests/**/*.ts", "packages/**/*.ts", "packages/**/*.vue", "typings/shims-vue.d.ts", "package.json"],
"exclude": ["node_modules", "dist"]
}