fix: 补全前端最小可运行入口 + 修前端配置缺陷
- 新增 index.html / src/main.tsx / src/App.tsx / src/index.css 最小入口 - 补 tsconfig.node.json(tsconfig 引用却缺失,导致 tsc 失败) - package.json 加 type:module + 缺失的 eslint 依赖 (@eslint/js / globals / typescript-eslint),eslint.config.js 此前 import 即崩 - 验证:pnpm build / lint / typecheck 三门禁全过,dist 正常产出 至此 backend / agent / frontend 三服务最小骨架均可运行。
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
||||
"skipLibCheck": true,
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "bundler",
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"strict": true
|
||||
},
|
||||
"include": ["vite.config.ts", "vitest.config.ts"]
|
||||
}
|
||||
Reference in New Issue
Block a user