Im trying to copy files from multiple locations, into one central location using gulp. I dont want to preserve the directory path strucure they are being copied from EXCEPT for directories from within the one im copying from (hopefully that makes sense).
So in my example i only want to preserve any structure found in the
var files = [
I have tried different combination's of altering basename, base, dir and using glob to pull them in - but I always end up with either either a flat structure or a the entire structure from where im copying from.
What combination of wizardy do i need to achieve this - or is this not possible?
edit: I think my issue is with the
path/to/wp/my-mu-plugins/** paths, that's where the trouble starts...