Skip to content

Commit

Permalink
set nextExport flag for page rendering (vercel/turborepo#3717)
Browse files Browse the repository at this point in the history
Otherwise `router.isReady` will never be true for pages without gSSP, gSP or gIP
  • Loading branch information
sokra authored Feb 9, 2023
1 parent c846e0e commit dd2ade3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/next-core/js/src/internal/page-server-handler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ export default function startHandler({
previewModeSigningKey: "",
},
basePath: "",
// TODO(WEB-583) this isn't correct, instead it should set `dev: true`
nextExport: true,
resolvedUrl: renderData.url,
optimizeFonts: false,
optimizeCss: false,
Expand Down

0 comments on commit dd2ade3

Please sign in to comment.