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.
32 lines
862 B
32 lines
862 B
{ |
|
"compilerOptions": { |
|
"allowJs": true, |
|
"target": "ES2020", |
|
"useDefineForClassFields": true, |
|
"module": "ESNext", |
|
"lib": ["ES2020", "DOM", "DOM.Iterable"], |
|
"skipLibCheck": true, |
|
|
|
/* Bundler mode */ |
|
"moduleResolution": "bundler", |
|
"allowImportingTsExtensions": true, |
|
"resolveJsonModule": true, |
|
"isolatedModules": true, |
|
"noEmit": true, |
|
"jsx": "preserve", |
|
|
|
/* Linting */ |
|
"strict": true, |
|
"noUnusedLocals": true, |
|
"noUnusedParameters": true, |
|
"noFallthroughCasesInSwitch": true, |
|
"baseUrl": "./", // 解析非相对模块的基地址,默认是当前目录 |
|
"paths": { |
|
//路径映射,相对于baseUrl |
|
"@/*": ["src/*"] |
|
}, |
|
"types": ["vite/client"] |
|
}, |
|
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"], |
|
"references": [{ "path": "./tsconfig.node.json" }] |
|
}
|
|
|