50 lines
1.2 KiB
JSON
50 lines
1.2 KiB
JSON
|
/*
|
||
|
* @Author: Kane
|
||
|
* @Date: 2023-03-01 23:38:12
|
||
|
* @LastEditors: Kane
|
||
|
* @FilePath: /task_schedule/src/test/tsconfig.json
|
||
|
* @Description: 运行测试代码用的tsconfig
|
||
|
*
|
||
|
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||
|
*/
|
||
|
{
|
||
|
"compilerOptions": {
|
||
|
"forceConsistentCasingInFileNames": true,
|
||
|
"useDefineForClassFields": true,
|
||
|
"target": "ESNext",
|
||
|
"module": "ESNext",
|
||
|
// "module": "CommonJS",
|
||
|
// "moduleResolution": "node",
|
||
|
"moduleResolution": "nodenext",
|
||
|
"strict": true,
|
||
|
"jsx": "preserve",
|
||
|
"sourceMap": true,
|
||
|
"resolveJsonModule": true,
|
||
|
"esModuleInterop": false,
|
||
|
"baseUrl": "./", // paths 路径解析起点
|
||
|
"paths": { // 别名路径设置
|
||
|
"@/*": [
|
||
|
"src/*"
|
||
|
],
|
||
|
},
|
||
|
"lib": [
|
||
|
"ESNext",
|
||
|
"DOM"
|
||
|
],
|
||
|
"types": [
|
||
|
"vite/client"
|
||
|
]
|
||
|
},
|
||
|
"include": [
|
||
|
"src/**/*.ts",
|
||
|
"src/**/*.tsx",
|
||
|
"src/**/*.vue",
|
||
|
"*.d.ts",
|
||
|
"src/router/index.js",
|
||
|
"src/router/index.js",
|
||
|
"./**/*.ts",
|
||
|
],
|
||
|
"exclude": [
|
||
|
"./node_modules",
|
||
|
]
|
||
|
}
|