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

Why is serverless-bundle added as a dev-dependency in each service and not at package.json at root level? #9

Open
s1mrankaur opened this issue Feb 11, 2021 · 0 comments

Comments

@s1mrankaur
Copy link

Here: https://serverless-stack.com/chapters/share-code-between-services.html

It's suggested that: We use the package.json at the project root to install the dependencies that will be shared across all the services. For example, the serverless-bundle plugin that we are using to optimally package our Lambda functions is installed at the root level. It doesn’t make sense to install it in each and every service.

But in the project, you have added serverless-bundle as dev-dependency in each service. Why is that?

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

No branches or pull requests

1 participant