File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
packages/runtime/src/helpers Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ const writeEdgeFunction = async ({
129129} ) : Promise <
130130 Array < {
131131 function : string
132+ name : string
132133 pattern : string
133134 } >
134135> => {
@@ -162,7 +163,7 @@ const writeEdgeFunction = async ({
162163 // We add a defintion for each matching path
163164 return matchers . map ( ( matcher ) => {
164165 const pattern = matcher . regexp
165- return { function : name , pattern }
166+ return { function : name , pattern, name : edgeFunctionDefinition . name }
166167 } )
167168}
168169export const cleanupEdgeFunctions = ( {
@@ -176,6 +177,7 @@ export const writeDevEdgeFunction = async ({
176177 functions : [
177178 {
178179 function : 'next-dev' ,
180+ name : 'netlify dev handler' ,
179181 path : '/*' ,
180182 } ,
181183 ] ,
@@ -226,6 +228,7 @@ export const writeEdgeFunctions = async (netlifyConfig: NetlifyConfig) => {
226228 )
227229 manifest . functions . push ( {
228230 function : 'ipx' ,
231+ name : 'next/image handler' ,
229232 path : '/_next/image*' ,
230233 } )
231234 }
You can’t perform that action at this time.
0 commit comments