gulp-concat
gulp-concat copied to clipboard
Takes base directory from most recently modified file, not first file
The README says that the output file "will take the base directory from the first file that passes through it".
In practice, the output file takes its base directory from the most recently modified file that passes through it, not the first one.
It looks like that is only the case if the file passed in is a string and not a Vinyl File Object. In the second case, it appears that both latestMod and latestFile (except for a check for no matching files) are ignored.
I have the same problem. How to solve it?