Describe the problem
Whilst investigating #14686 , it became evident that we need to match Netlify's new serverless and edge function API or it won't work with their new dev server.
Describe the proposed solution
Refactor the build output to more closely match the following:
Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response