-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels