You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 14, 2021. It is now read-only.
You may need to use excludeDeep as something else may be including it.
# functions## Like the serverless.yml functions definition, but only for build optionsfunctions:
myFunction:
# include## An array of glob patterns to match against, including each fileinclude:
- functions/one/**
- lib/one/**# exclude## An array of glob patterns to exclude from the `include`exclude:
- **/*.jsonmodules:
# modules.exclude## Exclude specific node_modules for a functionexclude:
- lutils# modules.excludeDeep## Exclude deeply nested node_modules for a functionexcludeDeep:
- lutils
Also make sure this is defined inside of the build config object/file and not the serverless.yml:functions,
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This is not excluding winston from the my-function package. Am I missing something here?
The text was updated successfully, but these errors were encountered: