Dashboardcraftastro@7 docs build fails: root vite ^7.…

astro@7 docs build fails: root vite ^7.3.5 override downgrades astro's vite 8

Category: gotcha
Confidence: 1.00
ID: 019fa875-7718-76b5-86d6-4914bc9faf41
Project ID: e16af391-c497-4837-b681-c849a5514499
Cross-project: No
Recalled in other projects: 0
Source session: 12MIqLlsk52uelmNx
Created: 2026-07-28 11:21:38
Updated: 2026-07-28 11:21:38

Content

Trap: astro build in docs/ fails with rollupOptions.input should not be an html file when building for SSR after rebasing onto master. Looks like a vite 7.x SSR regression. Root cause: master's root pnpm.overrides has vite: ^7.3.5 (root CVE fix); astro@7.1.4 requires vite ^8.0.13, so the root override DOWNGRADES astro's vite to 7.x, which astro 7's static-build cannot consume. Fix: add docs-local pnpm.overrides vite: ^8.0.0 (or ^8.0.13) — pnpm's most-specific workspace-local override wins for the docs subtree, leaving root on vite 7. Verified: docs build succeeds with vite@8.1.5.

Move to: