mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-20 20:39:55 +00:00
refactor: 重构代码结构和优化配置 docs: 更新文档和注释内容 build: 更新构建配置和依赖项 ci: 更新CI配置和工作流 chore: 更新杂项配置和脚本 fix: 修复已知问题和错误 style: 优化代码格式和样式 perf: 优化性能和提升执行效率 test: 更新测试用例和配置
34 lines
837 B
JSON
34 lines
837 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "esnext",
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"lib": ["esnext", "dom"],
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["src/*"]
|
|
},
|
|
|
|
// 严格性和类型检查相关配置
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
// 模块和兼容性相关配置
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"resolveJsonModule": true,
|
|
|
|
// 调试和兼容性相关配置
|
|
"sourceMap": true,
|
|
"useDefineForClassFields": true,
|
|
"allowJs": true,
|
|
|
|
// 类型检查相关配置
|
|
"types": ["node", "vite/client", "element-plus/global"]
|
|
},
|
|
|
|
"include": ["mock/**/*.ts", "src/**/*.ts", "src/**/*.vue", "vite.config.ts", "eslint.config.ts"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|