41 lines
828 B
JSON
41 lines
828 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"useDefineForClassFields": true,
|
|
"module": "ESNext",
|
|
"lib": [
|
|
"ES2020",
|
|
"DOM",
|
|
"DOM.Iterable"
|
|
],
|
|
"skipLibCheck": true,
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"isolatedModules": true,
|
|
"moduleDetection": "force",
|
|
"noEmit": true,
|
|
"jsx": "preserve",
|
|
"jsxImportSource": "vue",
|
|
/* Linting */
|
|
"strict": false,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"baseUrl": "./",
|
|
/* 配置别名 */
|
|
"paths": {
|
|
"@/*": [
|
|
"src/*"
|
|
]
|
|
},
|
|
"allowSyntheticDefaultImports": true
|
|
},
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"src/**/*.d.ts",
|
|
"src/**/*.tsx",
|
|
"src/**/*.vue"
|
|
]
|
|
}
|