2023-04-14 13:58:13 +00:00
|
|
|
{
|
|
|
|
"compilerOptions": {
|
|
|
|
"target": "ESNext",
|
|
|
|
"useDefineForClassFields": true,
|
|
|
|
"module": "ESNext",
|
|
|
|
"moduleResolution": "Node",
|
2023-04-17 15:20:49 +00:00
|
|
|
// ts 严格模式
|
2023-04-14 13:58:13 +00:00
|
|
|
"strict": true,
|
|
|
|
"jsx": "preserve",
|
|
|
|
"resolveJsonModule": true,
|
|
|
|
"isolatedModules": true,
|
|
|
|
"esModuleInterop": true,
|
|
|
|
"lib": ["ESNext", "DOM"],
|
|
|
|
"skipLibCheck": true,
|
2023-04-17 15:20:49 +00:00
|
|
|
"noEmit": true,
|
2023-04-18 09:26:47 +00:00
|
|
|
"baseUrl": "./",
|
2023-04-17 15:20:49 +00:00
|
|
|
"paths": {
|
|
|
|
"@/*": ["src/*"]
|
|
|
|
}
|
2023-04-14 13:58:13 +00:00
|
|
|
},
|
2023-05-01 15:58:54 +00:00
|
|
|
// ts 的包含编译文件
|
|
|
|
"include": ["src/**/*.ts", "src/**/*.d.ts","src/**/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
|
2023-04-17 15:20:49 +00:00
|
|
|
"exclude": ["node_modules", "dist"],
|
2023-04-14 13:58:13 +00:00
|
|
|
"references": [{ "path": "./tsconfig.node.json" }]
|
|
|
|
}
|