2023-02-11 00:44:00 +08:00
|
|
|
|
{
|
|
|
|
|
"compilerOptions": {
|
|
|
|
|
"target": "esnext",
|
|
|
|
|
"useDefineForClassFields": true,
|
|
|
|
|
"module": "esnext",
|
|
|
|
|
"moduleResolution": "node",
|
|
|
|
|
"strict": true,
|
|
|
|
|
"jsx": "preserve",
|
|
|
|
|
"sourceMap": true,
|
|
|
|
|
"resolveJsonModule": true,
|
|
|
|
|
"esModuleInterop": true,
|
|
|
|
|
"lib": ["esnext", "dom"],
|
2023-07-29 14:40:55 +08:00
|
|
|
|
"baseUrl": "./",
|
2023-02-11 00:44:00 +08:00
|
|
|
|
"allowJs": true,
|
|
|
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
|
"allowSyntheticDefaultImports": true,
|
|
|
|
|
"strictFunctionTypes": false,
|
|
|
|
|
"noUnusedLocals": true,
|
|
|
|
|
"noUnusedParameters": true,
|
|
|
|
|
"experimentalDecorators": true,
|
|
|
|
|
"noImplicitAny": false,
|
|
|
|
|
"skipLibCheck": true,
|
|
|
|
|
"paths": {
|
|
|
|
|
"@/*": ["src/*"]
|
|
|
|
|
},
|
|
|
|
|
"types": [
|
|
|
|
|
"@intlify/unplugin-vue-i18n/types",
|
|
|
|
|
"vite/client",
|
|
|
|
|
"element-plus/global",
|
|
|
|
|
"@types/qrcode",
|
2023-09-11 16:47:19 +08:00
|
|
|
|
"vite-plugin-svg-icons/client"
|
2023-02-11 00:44:00 +08:00
|
|
|
|
],
|
2023-03-23 00:34:55 +08:00
|
|
|
|
"outDir": "target", // 请保留这个属性,防止tsconfig.json文件报错
|
2023-02-11 00:44:00 +08:00
|
|
|
|
"typeRoots": ["./node_modules/@types/", "./types"]
|
|
|
|
|
},
|
|
|
|
|
"include": [
|
2023-07-29 14:40:55 +08:00
|
|
|
|
"src",
|
2023-02-11 00:44:00 +08:00
|
|
|
|
"types/**/*.d.ts",
|
|
|
|
|
"src/types/auto-imports.d.ts",
|
|
|
|
|
"src/types/auto-components.d.ts"
|
|
|
|
|
],
|
2023-03-23 00:34:55 +08:00
|
|
|
|
"exclude": ["dist", "target", "node_modules"]
|
2023-02-11 00:44:00 +08:00
|
|
|
|
}
|