Unverified Commit 88d64f9e authored by Josh Story's avatar Josh Story Committed by Hendrik Liebau

Revert "Include PPR routes in dynamicRoutes regardless of revalidate time (#9…"

This reverts commit 2d0ed312.
parent 2e753e23
...@@ -3345,10 +3345,7 @@ export default async function build( ...@@ -3345,10 +3345,7 @@ export default async function build(
} }
} }
const shouldEmitDynamicPrerenderRoutes = if (!hasRevalidateZero && isDynamicRoute(page)) {
!hasRevalidateZero || isRoutePPREnabled
if (shouldEmitDynamicPrerenderRoutes && isDynamicRoute(page)) {
// When PPR fallbacks aren't used, we need to include it here. If // When PPR fallbacks aren't used, we need to include it here. If
// they are enabled, then it'll already be included in the // they are enabled, then it'll already be included in the
// prerendered routes. // prerendered routes.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment