fix: 脚手架审查修复(dts入库保首跑/esnext注释/模板changelog清理)
- auto-imports.d.ts / components.d.ts 出 .gitignore 并入库(已重新生成):新克隆/CI 首跑 pnpm build 直接可用,Phase 4 部署依赖 - vite.config.ts build.target=esnext 补注释:Windows 本机 es2015 曾触发 esbuild 0xC0000409 原生崩溃,改后稳定;管理后台仅面向现代浏览器 - 删除模板自带 CHANGELOG.md / CHANGELOG.zh-CN.md(约 650 行 x2,与本项目无关) Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -70,6 +70,9 @@ export default ({ mode }: { mode: string }) => {
|
||||
}
|
||||
},
|
||||
build: {
|
||||
// Windows 本机 es2015 曾在 rendering chunks 阶段触发 esbuild 原生崩溃
|
||||
//(退出码 0xC0000409,多次复现),改 esnext 后连续构建稳定;
|
||||
// 管理后台仅面向现代浏览器,不做低版本降级。
|
||||
target: 'esnext',
|
||||
outDir: 'dist',
|
||||
chunkSizeWarningLimit: 2000,
|
||||
|
||||
Reference in New Issue
Block a user