Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-22 11:59:19 +08:00
v3-admin-vite/tsconfig.json

36 lines
949 B
JSON
Raw Normal View History

2022-04-20 22:40:26 +08:00
{
"compilerOptions": {
"target": "esnext",
2022-04-20 23:48:58 +08:00
/** https://vitejs.cn/guide/features.html#typescript-compiler-options */
2022-04-20 22:40:26 +08:00
"useDefineForClassFields": true,
"module": "esnext",
"moduleResolution": "node",
"strict": true,
"jsx": "preserve",
"sourceMap": true,
"resolveJsonModule": true,
2022-04-20 23:48:58 +08:00
/** https://vitejs.cn/guide/features.html#typescript-compiler-options */
2022-04-20 22:40:26 +08:00
"isolatedModules": true,
"esModuleInterop": true,
2022-04-20 23:15:39 +08:00
"lib": [
"esnext",
"dom"
],
2022-04-20 23:48:58 +08:00
"skipLibCheck": true,
2022-04-21 00:50:12 +08:00
"types": ["vite/client"],
/** baseUrl 使 */
"baseUrl": ".",
// 非相对模块导入的路径映射配置,根据 baseUrl 配置进行路径计算
"paths": {
"@/*": ["src/*"]
},
2022-04-20 22:40:26 +08:00
},
2022-04-20 23:15:39 +08:00
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.vue",
"vite.config.ts"
]
2022-04-20 23:48:58 +08:00
}