vue-pure-admin2/tsconfig.json
2021-03-01 15:26:05 +08:00

45 lines
903 B
JSON

{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"strict": false,
"jsx": "preserve",
"importHelpers": true,
"moduleResolution": "node",
"experimentalDecorators": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"sourceMap": true,
"baseUrl": ".",
"allowJs": true,
"resolveJsonModule": true, // 包含导入的模块。json的扩展
"lib": [
"dom",
"esnext"
],
"incremental": true,
"paths": {
"/@/*": [
"src/*"
]
},
"types": ["node"],
"typeRoots": [
"node_modules/@types"
],
},
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"src/**/*.vue",
"tests/**/*.ts",
"src/utils/path.js"
],
"exclude": [
"node_modules",
"dist",
"**/*.js"
],
}