Skip to content
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

Suggested: Have includePaths override excludePatterns #50

Open
matthewbga opened this issue May 13, 2016 · 0 comments
Open

Suggested: Have includePaths override excludePatterns #50

matthewbga opened this issue May 13, 2016 · 0 comments

Comments

@matthewbga
Copy link

matthewbga commented May 13, 2016

With the goal in mind to reduce deployed package size, it would be a nice feature to be able to exclude all paths using excludePattern, then surgically select files/paths to include using includePaths.

Given the following directory structure...

/api
  /fn1
    handler.py
    s-function.json
  /fn2
    handler.py
    s-function.json
  /lib
    Notifier.py
    StackEvent.py

If /api/fn1/s-function.json has...

 "custom": {
    "optimize": true,
    "includePaths": []
 }

I still find /fn2/* and /lib/* in the deployment package (.zip).

As I understand the intent of this plugin is to remove those two additional directories. It's possible/likely I am missing something. I have reviewed other issues, like #48, etc.

Thanks all! This is good work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant