2021-03-01 15:26:05 +08:00
|
|
|
{
|
|
|
|
"compilerOptions": {
|
|
|
|
"target": "esnext",
|
|
|
|
"module": "esnext",
|
2021-09-18 12:44:31 +08:00
|
|
|
"moduleResolution": "node",
|
2021-03-01 15:26:05 +08:00
|
|
|
"strict": false,
|
|
|
|
"jsx": "preserve",
|
|
|
|
"importHelpers": true,
|
|
|
|
"experimentalDecorators": true,
|
2021-09-16 23:16:54 +08:00
|
|
|
"strictFunctionTypes": false,
|
2021-03-01 15:26:05 +08:00
|
|
|
"skipLibCheck": true,
|
|
|
|
"esModuleInterop": true,
|
2021-04-22 17:31:50 +08:00
|
|
|
"isolatedModules": true,
|
2021-03-01 15:26:05 +08:00
|
|
|
"allowSyntheticDefaultImports": true,
|
|
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
"sourceMap": true,
|
|
|
|
"baseUrl": ".",
|
2021-08-19 11:13:14 +08:00
|
|
|
"allowJs": false,
|
2021-03-01 15:26:05 +08:00
|
|
|
"resolveJsonModule": true, // 包含导入的模块。json的扩展
|
2021-09-16 23:16:54 +08:00
|
|
|
"lib": ["dom", "esnext"],
|
2021-03-01 15:26:05 +08:00
|
|
|
"incremental": true,
|
|
|
|
"paths": {
|
2021-09-16 23:16:54 +08:00
|
|
|
"/@/*": ["src/*"],
|
2021-09-29 09:07:54 +08:00
|
|
|
"@build/*": ["build/*"],
|
2021-09-16 23:16:54 +08:00
|
|
|
"/#/*": ["types/*"]
|
2021-03-01 15:26:05 +08:00
|
|
|
},
|
2021-09-16 23:16:54 +08:00
|
|
|
"types": ["node", "vite/client"],
|
2021-09-19 01:12:46 +08:00
|
|
|
"typeRoots": ["./node_modules/@types/", "./types"]
|
2021-03-01 15:26:05 +08:00
|
|
|
},
|
|
|
|
"include": [
|
|
|
|
"src/**/*.ts",
|
|
|
|
"src/**/*.tsx",
|
|
|
|
"src/**/*.vue",
|
2021-08-29 10:20:59 +08:00
|
|
|
"types/*.d.ts",
|
|
|
|
"mock/*.ts",
|
|
|
|
"vite.config.ts"
|
2021-03-01 15:26:05 +08:00
|
|
|
],
|
2021-09-16 23:16:54 +08:00
|
|
|
"exclude": ["node_modules", "dist", "**/*.js"]
|
|
|
|
}
|