vue-pure-admin2/tsconfig.json
2021-04-22 17:31:50 +08:00

42 lines
1.0 KiB
JSON

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