Files
glt-taro/tsconfig.json
赵忠林 12917a4766 refactor(config): 将环境配置文件从 TypeScript 转换为 JavaScript
- 移除 config/env.ts 文件并将环境配置转换为 config/env.js
- 更新 config/index.ts 中的导入路径以匹配新的 JavaScript 文件扩展名
- 修改 src/utils/server.ts 中的开发服务器 URL 配置
- 更新 tsconfig.json 的 include 配置移除 config 目录
- 调整环境配置中的 API 地址设置统一使用生产环境地址
- 更新 .workbuddy/expert-history.json 中的时间戳记录
2026-04-03 20:17:23 +08:00

43 lines
1.1 KiB
JSON

{
"compilerOptions": {
"target": "es2018",
"module": "esnext",
"lib": ["es2018", "dom", "dom.iterable"],
"removeComments": false,
"preserveConstEnums": true,
"moduleResolution": "node",
"experimentalDecorators": true,
"strict": true,
"noImplicitAny": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"outDir": "lib",
"noUnusedLocals": true,
"noUnusedParameters": true,
"strictNullChecks": true,
"sourceMap": true,
"baseUrl": ".",
"rootDir": ".",
"jsx": "react-jsx",
"allowJs": true,
"resolveJsonModule": true,
"typeRoots": [
"node_modules/@types",
"types"
],
"paths": {
"@/*": ["./src/*"],
"@/components/*": ["./src/components/*"],
"@/utils/*": ["./src/utils/*"],
"@/assets/*": ["./src/assets/*"],
"@/api/*": ["./src/api/*"],
"@/hooks/*": ["./src/hooks/*"],
"@/config/*": ["./config/*"],
"@/types/*": ["./types/*"]
},
"skipLibCheck": true
},
"include": ["./src", "./types"],
"compileOnSave": false
}