diff --git a/packages/next/src/build/index.ts b/packages/next/src/build/index.ts index 72ed7199113f4..a86f8e8100a38 100644 --- a/packages/next/src/build/index.ts +++ b/packages/next/src/build/index.ts @@ -2793,7 +2793,7 @@ export default async function build( let prefetchDataRoute: string | null | undefined // We write the `.prefetch.rsc` when the app has PPR enabled, so // always add the prefetch data route to the manifest. - if (!isRouteHandler && experimentalPPR) { + if (!isRouteHandler && isAppPPREnabled) { prefetchDataRoute = path.posix.join( `${normalizedRoute}${RSC_PREFETCH_SUFFIX}` )