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

53 lines
1.3 KiB
JSON
Raw Normal View History

2022-04-20 22:40:26 +08:00
{
"compilerOptions": {
"target": "esnext",
2022-07-21 16:08:43 +08:00
/** https://cn.vitejs.dev/guide/features.html#typescript-compiler-options */
2022-04-20 22:40:26 +08:00
"useDefineForClassFields": true,
"module": "esnext",
"moduleResolution": "node",
/** TS */
2022-04-20 22:40:26 +08:00
"strict": true,
"jsx": "preserve",
2022-04-21 12:05:43 +08:00
"importHelpers": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
2022-04-20 22:40:26 +08:00
"sourceMap": true,
"resolveJsonModule": true,
2022-07-21 16:08:43 +08:00
/** https://cn.vitejs.dev/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 12:05:43 +08:00
"types": [
"node",
"vite/client",
/** Element-Plus Volar */
2022-04-21 12:22:35 +08:00
"element-plus/global"
2022-04-21 12:05:43 +08:00
],
2022-04-21 00:50:12 +08:00
/** baseUrl 使 */
"baseUrl": ".",
2022-04-21 12:05:43 +08:00
/** baseUrl */
2022-04-21 00:50:12 +08:00
"paths": {
2022-04-21 12:05:43 +08:00
"@/*": [
"src/*"
]
2022-04-21 00:50:12 +08:00
},
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",
2022-04-21 12:05:43 +08:00
"types/**/*.d.ts",
2022-04-20 23:15:39 +08:00
"vite.config.ts"
2022-04-21 12:05:43 +08:00
],
/** */
"exclude": [
"node_modules",
"dist"
2022-04-20 23:15:39 +08:00
]
2022-04-20 23:48:58 +08:00
}