The /dist is for your static assets, the /functions folder is for your Pages function (https://devel

The /dist is for your static assets, the /functions folder is for your Pages function (https://developers.cloudflare.com/pages/functions/get-started/#create-a-function). Your structure sounds reasonable to me.
Was this page helpful?