Skip to content

Commit 8478cd1

Browse files
committed
chore: adding log message for early exit
1 parent 0bde7bc commit 8478cd1

File tree

1 file changed

+3
-0
lines changed
  • packages/runtime/src/helpers

1 file changed

+3
-0
lines changed

packages/runtime/src/helpers/edge.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,9 @@ export const writeEdgeFunctions = async ({
360360

361361
// early return if edge is disabled
362362
if (destr(process.env.NEXT_DISABLE_NETLIFY_EDGE)) {
363+
console.log(
364+
'Environment variable NEXT_DISABLE_NETLIFY_EDGE has been set, skipping Netlify Edge Function creation.',
365+
)
363366
return
364367
}
365368

0 commit comments

Comments
 (0)