vue3-vant4-mobile/tsconfig.json
2024-02-17 13:52:03 +08:00

42 lines
1.0 KiB
JSON

{
"compilerOptions": {
"target": "ESNext",
"jsx": "preserve",
"lib": ["ESNext", "DOM"],
"useDefineForClassFields": true,
"baseUrl": ".",
"module": "ESNext",
"moduleResolution": "Node",
"paths": {
"@/*": ["src/*"],
"#/*": ["types/*"]
},
"resolveJsonModule": true,
"typeRoots": ["./node_modules/@types/", "./types"],
"types": ["vite/client"],
"strict": true,
"noImplicitAny": false,
"sourceMap": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"isolatedModules": true,
"skipLibCheck": true
},
"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