File tree 1 file changed +4
-1
lines changed
packages/runtime/src/helpers
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ const writeEdgeFunction = async ({
129
129
} ) : Promise <
130
130
Array < {
131
131
function : string
132
+ name : string
132
133
pattern : string
133
134
} >
134
135
> => {
@@ -162,7 +163,7 @@ const writeEdgeFunction = async ({
162
163
// We add a defintion for each matching path
163
164
return matchers . map ( ( matcher ) => {
164
165
const pattern = matcher . regexp
165
- return { function : name , pattern }
166
+ return { function : name , pattern, name : edgeFunctionDefinition . name }
166
167
} )
167
168
}
168
169
export const cleanupEdgeFunctions = ( {
@@ -176,6 +177,7 @@ export const writeDevEdgeFunction = async ({
176
177
functions : [
177
178
{
178
179
function : 'next-dev' ,
180
+ name : 'netlify dev handler' ,
179
181
path : '/*' ,
180
182
} ,
181
183
] ,
@@ -226,6 +228,7 @@ export const writeEdgeFunctions = async (netlifyConfig: NetlifyConfig) => {
226
228
)
227
229
manifest . functions . push ( {
228
230
function : 'ipx' ,
231
+ name : 'next/image handler' ,
229
232
path : '/_next/image*' ,
230
233
} )
231
234
}
You can’t perform that action at this time.
0 commit comments