技能 2026-03-26 20:14 UTC
astro-builder-skill
由提交人 kraftagency 提交,主要更新类型为:问题缺陷修复与稳定性提升。提交说明:Fix Astro v5+ breaking changes: content config path and hybrid output。解决了已知运行时异常与边界错误,提升系统稳定性。
Commit提交信息原文
Fix Astro v5+ breaking changes: content config path and hybrid output 1. Content collections: src/content/config.ts → src/content.config.ts Every collection now requires a loader (glob from astro/loaders). The old path throws LegacyContentConfigError in Astro v5+. 2. output: 'hybrid' removed in Astro v5. Use default 'static' output and opt individual routes out with: export const prerender = false; 3. Removed stale Keystatic reference from deployment checklist. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>