We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi Hanhal i saw that you already have this issue on serverless/serverless#5892
You manage to solve this with your plugin ? i am using this plugins:
package: individually: true exclude: - "" - "!services/my-services/" - "!my-layer/**"
layers: myLayer: package: include: - ./my-layer/** path: ./my-layer name: my-layer description: My library retain: true
but nothing work..
The text was updated successfully, but these errors were encountered:
I am using this plugin too, and fixed the same issue by the following configuration. The working repo is here: https://github.com/Jeff-Tian/serverless-space.
serverless.yml:
package: patterns: - '!node_modules/**' - '!layers/**'
You need to use patterns instead of include or exclude.
patterns
include
exclude
You can smoke the the working repo by
curl https://jqp5j170i6.execute-api.us-east-1.amazonaws.com/dev/users/create curl https://jqp5j170i6.execute-api.us-east-1.amazonaws.com/dev/api curl https://jqp5j170i6.execute-api.us-east-1.amazonaws.com/dev/nest/cats
Sorry, something went wrong.
No branches or pull requests
Hi Hanhal i saw that you already have this issue on serverless/serverless#5892
You manage to solve this with your plugin ? i am using this plugins:
package:
individually: true
exclude:
- ""
- "!services/my-services/"
- "!my-layer/**"
layers:
myLayer:
package:
include:
- ./my-layer/**
path: ./my-layer
name: my-layer
description: My library
retain: true
but nothing work..
The text was updated successfully, but these errors were encountered: