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

49 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-10-18 15:07:42 +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 */
2023-02-16 14:38:21 +08:00
"element-plus/global",
"vitest",
"vitest/globals"
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-10-18 15:07:42 +08:00
"@/*": ["src/*"]
}
2022-04-20 22:40:26 +08:00
},
2023-02-16 14:38:21 +08:00
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.vue",
2023-02-16 17:36:47 +08:00
"tests/**/*.ts",
2023-02-16 14:38:21 +08:00
"types/**/*.d.ts",
"vite.config.ts",
"vitest.config.ts"
],
2022-04-21 12:05:43 +08:00
/** */
2022-10-18 15:07:42 +08:00
"exclude": ["node_modules", "dist"]
2022-04-20 23:48:58 +08:00
}