Hey there, I can see from the log message that you are using `@cloudflare/next-on-pages`. In the bui

Hey there, I can see from the log message that you are using @cloudflare/next-on-pages. In the build tool, we don't support the functions directory. This is because we generate our own worker at the end which is used to power your site instead. You won't see a list of routes in the Functions tab.

When using Next.js with next-on-pages, you should be using Next.js API routes instead of trying to use the functions directory. These will then get built by Next.js and we are able to include them in the final worker that we generate, and any edge runtime routes in your Next.js will appear in the build summary that we log, like the one that you pasted here.
Was this page helpful?