Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mischnic committed Jan 24, 2025
1 parent 1ba600b commit 014ec1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/next/src/build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2457,6 +2457,7 @@ export default async function build(
path.join(SERVER_DIRECTORY, `${INSTRUMENTATION_HOOK_FILENAME}.js`)
)
// If there's edge routes, append the edge instrumentation hook
// Turbopack generates this chunk with a hashed name and references it in middleware-manifest.
if (
!process.env.TURBOPACK &&
(edgeRuntimeAppCount || edgeRuntimePagesCount)
Expand Down

0 comments on commit 014ec1f

Please sign in to comment.