2021-11-13 23:26:02 +08:00
|
|
|
{
|
2022-05-08 13:06:12 +08:00
|
|
|
"compilerOptions": {
|
|
|
|
|
"target": "esnext",
|
|
|
|
|
"useDefineForClassFields": true,
|
|
|
|
|
"module": "esnext",
|
|
|
|
|
"moduleResolution": "node",
|
|
|
|
|
"strict": true,
|
|
|
|
|
"jsx": "preserve",
|
|
|
|
|
"sourceMap": true,
|
|
|
|
|
"resolveJsonModule": true,
|
|
|
|
|
"esModuleInterop": true,
|
|
|
|
|
"lib": ["esnext", "dom"],
|
2022-11-08 22:51:03 +08:00
|
|
|
"baseUrl": ".",
|
|
|
|
|
"allowJs": true,
|
2022-05-08 13:06:12 +08:00
|
|
|
"paths": {
|
|
|
|
|
"@/*": ["src/*"]
|
|
|
|
|
},
|
2023-04-15 23:50:29 +08:00
|
|
|
"types": ["vite/client", "element-plus/global", "unplugin-icons/types/vue"],
|
2022-11-08 22:51:03 +08:00
|
|
|
"skipLibCheck": true /* Skip type checking all .d.ts files. */,
|
|
|
|
|
"allowSyntheticDefaultImports": true /* 允许默认导入 */,
|
2023-04-15 23:50:29 +08:00
|
|
|
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */
|
2022-05-08 13:06:12 +08:00
|
|
|
},
|
2023-01-13 01:05:45 +08:00
|
|
|
"include": ["src/**/*.ts", "src/**/*.vue", "src/types/**/*.d.ts"],
|
2023-04-15 23:50:29 +08:00
|
|
|
"exclude": ["node_modules", "dist", "**/*.js"],
|
|
|
|
|
"references": [{ "path": "./tsconfig.node.json" }]
|
2021-11-13 23:26:02 +08:00
|
|
|
}
|