We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 721cc78 commit 692af06Copy full SHA for 692af06
packages/runtime/src/index.ts
@@ -85,7 +85,7 @@ const plugin: NetlifyPlugin = {
85
86
let usingEdge = false
87
88
- if (Object.keys(middlewareManifest?.functions).length !== 0) {
+ if (middlewareManifest?.functions && Object.keys(middlewareManifest.functions).length !== 0) {
89
usingEdge = true
90
if (process.env.NEXT_DISABLE_NETLIFY_EDGE) {
91
failBuild(outdent`
0 commit comments