Skip to content

Commit

Permalink
Update packages/next/src/build/entries.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed Jul 7, 2023
1 parent d72c0f9 commit 639e987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/src/build/entries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ export function runDependingOnPageType<T>(params: {
page: string
pageRuntime: ServerRuntime
pageType?: 'app' | 'pages' | 'root'
}) {
}): void {
if (params.pageType === 'root' && isInstrumentationHookFile(params.page)) {
params.onServer()
params.onEdgeServer()
Expand Down

0 comments on commit 639e987

Please sign in to comment.