2020-12-09 08:55:57 +08:00
|
|
|
{
|
2021-03-15 12:44:58 +08:00
|
|
|
"compilerOptions": {
|
2023-02-14 11:03:51 +08:00
|
|
|
"target": "esnext",
|
|
|
|
"useDefineForClassFields": true,
|
|
|
|
"module": "esnext",
|
|
|
|
"moduleResolution": "node",
|
|
|
|
"strict": true,
|
|
|
|
"jsx": "preserve",
|
|
|
|
"sourceMap": true,
|
|
|
|
"resolveJsonModule": true,
|
|
|
|
"esModuleInterop": true,
|
2023-03-04 20:56:15 +08:00
|
|
|
"lib": ["esnext", "dom"],
|
2023-02-14 11:03:51 +08:00
|
|
|
"baseUrl": ".",
|
|
|
|
"allowJs": true,
|
|
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
"allowSyntheticDefaultImports": true,
|
|
|
|
"strictFunctionTypes": false,
|
|
|
|
"noUnusedLocals": true,
|
|
|
|
"noUnusedParameters": true,
|
|
|
|
"experimentalDecorators": true,
|
2023-03-07 15:43:40 +08:00
|
|
|
"noImplicitAny": false, // 是否关闭 ts 2322 类型推导
|
2023-02-14 11:03:51 +08:00
|
|
|
"skipLibCheck": true,
|
2021-04-13 15:58:58 +08:00
|
|
|
"paths": {
|
2023-03-04 20:56:15 +08:00
|
|
|
"/@/*": ["./src/*"]
|
2023-02-14 11:03:51 +08:00
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
"@intlify/unplugin-vue-i18n/types",
|
|
|
|
"vite/client",
|
|
|
|
"element-plus/global",
|
|
|
|
"@types/intro.js",
|
|
|
|
"@types/qrcode",
|
|
|
|
"vite-plugin-svg-icons/client",
|
|
|
|
"unplugin-vue-define-options/macros-global"
|
|
|
|
],
|
2023-03-04 20:56:15 +08:00
|
|
|
"typeRoots": ["./node_modules/@types/", "./types"]
|
2022-11-29 22:03:40 +08:00
|
|
|
},
|
2023-03-04 20:56:15 +08:00
|
|
|
"include": ["src/**/*", "types/**/*.d.ts", "mock/**/*.ts", "auto-imports.d.ts"],
|
|
|
|
"exclude": ["dist", "node_modules"]
|
2020-12-21 12:02:01 +08:00
|
|
|
}
|