refactor(projects): 代码优化

This commit is contained in:
Soybean
2022-04-27 19:01:54 +08:00
parent e8488e4d52
commit a782461453
20 changed files with 174 additions and 138 deletions

View File

@ -1,24 +1,28 @@
{
"extends": "@vue/tsconfig/tsconfig.web.json",
"include": [
"src/typings/**/*.d.ts",
"src/**/*",
"src/**/*.vue",
"vite.config.*",
"build/**/*.ts",
"mock/**/*.ts",
".env-config.ts",
],
"exclude": [
"/dist/**",
"node_modules"
],
"compilerOptions": {
"baseUrl": ".",
"module": "ESNext",
"target": "ESNext",
"lib": ["DOM", "ESNext"],
"strict": true,
"esModuleInterop": true,
"jsx": "preserve",
"skipLibCheck": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"noUnusedLocals": true,
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
"paths": {
"@/*": ["./src/*"],
"~/*": ["./*"]
},
"types": ["node","unplugin-icons/types/vue","naive-ui/volar"]
}
"types": [
"vite/client",
"node",
"unplugin-icons/types/vue",
"naive-ui/volar"
]
},
"exclude": ["dist", "node_modules"],
}