web-resource-inliner
web-resource-inliner copied to clipboard
Ability to specify multiple `relativeTo` values (e.g. an Array of directories to look under)
It would be great to permit multiple relativeTo
values, such that it would search across all directories for the first match found. If multiple found then it could give a warning on command line perhaps.
I guess that or add some sort of grep option that'll search recursively through everything under some root. I would accept a PR with some form of this as long as it is not a breaking change.
@jrit how would you like it to work? sequential searching in order as passed in the array? what if multiple exist, which one gets chosen?
The thing about the multiple matches is that is a fundamental problem with this kind of functionality, so as long as you decide and document how it works, it really makes no difference to me. I've never needed and don't expect to ever need this, so you are the subject matter expert here.