You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
873 B
33 lines
873 B
{ |
|
"compilerOptions": { |
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", |
|
"target": "ES2020", |
|
"useDefineForClassFields": true, |
|
"module": "ESNext", |
|
"lib": ["ES2020", "DOM", "DOM.Iterable"], |
|
|
|
"baseUrl": "./", // 解析非相对模块的基地址,默认是当前目录 |
|
"paths": { |
|
//路径映射,相对于baseUrl |
|
"@/*": ["src/*"] |
|
}, |
|
|
|
"skipLibCheck": true, |
|
|
|
/* Bundler mode */ |
|
"moduleResolution": "Bundler", |
|
"allowImportingTsExtensions": true, |
|
"isolatedModules": true, |
|
"moduleDetection": "force", |
|
"noEmit": true, |
|
"jsx": "preserve", |
|
|
|
/* Linting */ |
|
"strict": true, |
|
"noUnusedLocals": true, |
|
"noUnusedParameters": true, |
|
"noFallthroughCasesInSwitch": true, |
|
"noUncheckedSideEffectImports": true |
|
}, |
|
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"] |
|
}
|
|
|