fix: render root route on post rerenders, too

This commit is contained in:
2026-02-22 15:50:02 +01:00
parent a7e7ae5b1a
commit bfbd57a365
3 changed files with 34 additions and 1 deletions

View File

@@ -238,6 +238,6 @@ export function buildTargetedValidationPlan(params: BuildTargetedValidationPlanP
requestedYearMonths,
requestedYearMonthDays,
requestedPageSlugs: new Set(initialPlan.requestedPageSlugs),
requestRootRoutes: initialPlan.requestRootRoutes,
requestRootRoutes: initialPlan.requestRootRoutes || initialPlan.requestedPostRoutes.length > 0,
};
}