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 }}
Repository navigation
1.0.2 does not enact the package-exclude directive #2471
Activity
pmuens commentedon Oct 19, 2016
@chris-hailstorm Thanks for reporting 👍
Serverless v1.0 has switched to globs for excluding. Here's a link to the docs: https://serverless.com/framework/docs/guide/packaging/#excluding-files-from-packaging
chris-hailstorm commentedon Oct 19, 2016
Tried this:
and this:
In both cases, directory notes and its two files are still in the zip file:
??
chris-hailstorm commentedon Oct 19, 2016
I like the idea of globs but per my second comment, either they're not working or the syntax is not obvious.
pmuens commentedon Oct 20, 2016
Hmm. That's strange. Works for me.
Here's me
serverless.yml:And here's the directory structure:
When I run
serverless deploy --noDeployand inspect the zip file I cannot find thenotesdirectory:mthenw commentedon Nov 3, 2016
Closing this one as it's already discussed in #2071.