40 lines
827 B
JSON
40 lines
827 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"
|
||
|
]
|
||
|
}
|