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
devDependencies are not excluded all of a sudden... #12379
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are you certain it's a bug?
Is the issue caused by a plugin?
Are you using the latest v3 release?
Is there an existing issue for this?
Issue description
I found the issue for devDependencies not being excluded for the parent directory issue, but we have our
serverless.yml
in the root, along with tenode_modules
.We have had this working fine previously, and the deploy size of the Lambdas has been around 31 MB.
Now we hit 110 MB and the deploy fails as the unpackaged size exceeds 360 MB(!).
Extracting the ZIP I can see that all dependecises are there, e.g.
serverless
,aws-sdk
,eslint
etc.What have I messed up?
Service configuration (serverless.yml) content
The text was updated successfully, but these errors were encountered: