12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- {
- "compilerOptions": {
- "declaration": true,
- "target": "esnext",
- "module": "esnext",
- "strict": false,//启用所有严格类型检查选项。
- "jsx": "preserve",
- "moduleResolution": "node",
- "experimentalDecorators": true,
- "skipLibCheck": true,//忽略所有的声明文件( *.d.ts)的类型检查。
- "esModuleInterop": true,
- "allowSyntheticDefaultImports": true,
- "forceConsistentCasingInFileNames": true,
- "useDefineForClassFields": true,
- "sourceMap": true,//生成相应的 .map文件。
- "baseUrl": ".",
- "types": [
- "webpack-env"
- ],
- "paths": {
- "@/*": [
- "src/*"
- ]
- },
- "lib": [
- "esnext",
- "dom",
- "dom.iterable",
- "scripthost"
- ]
- },
- "include": [
- "src/**/*.ts",
- "src/**/*.tsx",
- "src/**/*.vue",
- "tests/**/*.ts",
- "tests/**/*.tsx"
- ],
- "exclude": [
- "node_modules"
- ]
- }
|