Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add handlerRoot plugin config #96

Merged

Conversation

tommarien
Copy link
Contributor

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

'root/apps/app-name/dist/app-name/main'

this allows to override this trough custom config

Copy link

@Pjai1 Pjai1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great addition to use in conjunction with Nest CLI!

@dougmoscrop dougmoscrop merged commit 84f52de into dougmoscrop:master May 11, 2024
@tommarien tommarien deleted the feat/add-optional-lambda-root-path branch May 14, 2024 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants