ubaniabalogun/serverless-package-python-functions

can I exclude the requirementsFile from the artifact?

iharush opened this issue · 2 comments

Hi
How can I exclude the requirementsFile and the globalRequirements from the artifact?
As it is not needed at run time.

Thanks,
Itay

If my pull request is accepted then you can define a 'globalExcludes' or 'exclude' per package.
Also requirements.txt will be excluded by default

looks good. Thanks.

I liked the part that you can enhance the "defaultExcludes" with configurable "globalExcludes".

Itay