When building outputs to root directory in a monorepo for instance while using nest-cli, you end up with outputs in root/dist/app-name,
this is not how serverless-compose wants it. by default the this.serverless.config.servicePath will be the path of app you are building.
So in other words you get a failure because it is looking for
When building outputs to root directory in a monorepo for instance while using nest-cli, you end up with outputs in
root/dist/app-name
, this is not how serverless-compose wants it. by default thethis.serverless.config.servicePath
will be the path of app you are building.So in other words you get a failure because it is looking for
'root/apps/app-name/dist/app-name/main'
this allows to override this trough custom config