-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
In the code the negations are skipped. This misses a critical feature in an ignore file: how to ignore all except some.
Use case: I want to drop everything in the locutus module except the datetime files I'm interested in:
node_modules/locutus/**
!node_modules/locutus/php/datetime/**/*.js
Since the current code skips all negated patterns I wind up not having anything in the locutus folder.
The following works in the serverless.yaml file, per the documentation:
package:
patterns:
- "!node_modules/locutus/**"
- "node_modules/locutus/php/datetime/**/*.js"
Thus there's a workaround: handle most ignores in the .slsignore file, but anything you need negations for use the serverless.yaml file.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request