Functions directory not working with nextjs app.

Hi,
I have set up and deployed a nextjs app following https://developers.cloudflare.com/pages/framework-guides/deploy-a-nextjs-site/

However, none of my functions from /functions are appearing in the build. Not sure why. When building locally using next-on-pages it generates a _workers.js/index.js files which I believe is what is supposed to happen. However none of my functions or middleware are existent in the build or deployment.
Was this page helpful?