I’m currently trying to deploy my application with the following
netlify.yml configuration :
build: command: yarn build functions: dist/apps/api publish: dist/apps/web
The current Netlify Build (not beta) first builds my web app and functions to
dist, after what
zip-it-and-ship-it comes in to create the ZIP archive to deploy on AWS Lambda.
With the new Netlify Build, the
functionsBuilds hook (which creates the ZIP archive) comes before
build, which is problematic in my case since
dist folder is created at the
build step. As a result, I don’t have any Netlify functions deployed.