diff --git a/packages/next/src/build/index.ts b/packages/next/src/build/index.ts index c2f60626332b8..5a62b76eae437 100644 --- a/packages/next/src/build/index.ts +++ b/packages/next/src/build/index.ts @@ -1437,6 +1437,7 @@ export default async function build( promises.push( handleRouteType({ page, + dev: false, pathname: normalizeAppPath(page), route, currentIssues,