起因:误建在 yudao master 快照(vite 8.0.10 + rolldown@1.0.0-rc.17 前沿不稳, mini-desktop 构建 native binding 崩;另叠 pnpm10+ 拦原生构建脚本 esbuild)。 重做到稳定发布 tag v2026.01:vite 5.1.4 / vue 3.5.12 / element-plus 2.11.1。 - 保留 wanxiang 5 个 MVP 运营页(review/featured/dashboard/adSlot/withdraw) + 6 个 admin-api 模块(ad/trade/project/feed/telemetry/mock)+ 路由/.env 接线不变 - build:local 改 node 直跑 vite(绕 pnpm-run 预检),max-old-space 降至 4096 - 注:本次为基线切换提交,构建绿待 mini-desktop(15G)独立验证,本机 5.8G 跑前端 OOM Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
||
"compilerOptions": {
|
||
"target": "esnext",
|
||
"useDefineForClassFields": true,
|
||
"module": "esnext",
|
||
"moduleResolution": "node",
|
||
"strict": true,
|
||
"jsx": "preserve",
|
||
"sourceMap": true,
|
||
"resolveJsonModule": true,
|
||
"esModuleInterop": true,
|
||
"lib": ["esnext", "dom"],
|
||
"baseUrl": "./",
|
||
"allowJs": true,
|
||
"forceConsistentCasingInFileNames": true,
|
||
"allowSyntheticDefaultImports": true,
|
||
"strictFunctionTypes": false,
|
||
"noUnusedLocals": true,
|
||
"noUnusedParameters": true,
|
||
"experimentalDecorators": true,
|
||
"noImplicitAny": false,
|
||
"skipLibCheck": true,
|
||
"paths": {
|
||
"@/*": ["src/*"]
|
||
},
|
||
"types": [
|
||
// "@intlify/unplugin-vue-i18n/types",
|
||
"vite/client"
|
||
// "element-plus/global",
|
||
// "@types/qrcode",
|
||
// "vite-plugin-svg-icons/client"
|
||
],
|
||
"outDir": "target", // 请保留这个属性,防止tsconfig.json文件报错
|
||
"typeRoots": ["./node_modules/@types/", "./types"]
|
||
},
|
||
"include": [
|
||
"src",
|
||
"types/**/*.d.ts",
|
||
"src/types/auto-imports.d.ts",
|
||
"src/types/auto-components.d.ts"
|
||
],
|
||
"exclude": ["dist", "target", "node_modules"]
|
||
}
|