Files
pqs-9100_client/frontend/tsconfig.json
hongawen 6b0128921b 项目微调
引入按需自动导入插件,避免开发人员显示导入vue的函数
2024-10-09 20:03:07 +08:00

47 lines
1.0 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"files": [],
"references": [
{
"path": "./tsconfig.node.json"
},
{
"path": "./tsconfig.app.json"
}
],
"compilerOptions": {
"target": "esnext",
"declaration": true,
"useDefineForClassFields": true,
"module": "esnext",
"moduleResolution": "Node",
"strict": true,
"jsx": "preserve",
"allowJs": true,
"resolveJsonModule": true,
"isolatedModules": true,
"esModuleInterop": true,
"lib": ["esnext", "DOM"],
"skipLibCheck": true,
"noEmit": false,
"types": [
"node",
"element-plus/global"
],
"baseUrl": "./", // 解析非相对模块的基地址,默认是当前目录
"paths": { //路径映射相对于baseUrl
"@/*": ["src/*"]
},
"allowSyntheticDefaultImports": true // 允许默认导入
},
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.vue",
"build/**/*.ts",
"build/**/*.d.ts",
"vite.config.ts"
],
"exclude": ["node_modules", "dist", "**/*.js"]
}