vue3-vant4-mobile/tsconfig.json
2022-10-14 16:56:19 +08:00

42 lines
1.0 KiB
JSON

{
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"allowSyntheticDefaultImports": true,
"module": "ESNext",
"moduleResolution": "Node",
"strict": true,
"sourceMap": true,
"jsx": "preserve",
"baseUrl": ".",
"resolveJsonModule": true,
"isolatedModules": true,
"esModuleInterop": true,
"lib": ["ESNext", "DOM"],
"types": ["vite/client"],
"typeRoots": ["./node_modules/@types/", "./types"],
"noImplicitAny": false,
"skipLibCheck": true,
"paths": {
"@/*": ["src/*"],
"#/*": ["types/*"]
}
},
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.vue",
"components.d.ts",
"types/**/*.d.ts",
"types/**/*.ts",
"build/**/*.ts",
"build/**/*.d.ts",
"mock/**/*.ts",
"vite.config.ts"
],
"exclude": ["node_modules", "dist", "**/*.js"]
}
// tsconfig.json文件 compilerOptions 常用配置 https://juejin.cn/post/7091530360114118670
// tsconfig 常用配置解析 https://segmentfault.com/a/1190000021421461