gulp-concat icon indicating copy to clipboard operation
gulp-concat copied to clipboard

Takes base directory from most recently modified file, not first file

Open s100 opened this issue 8 years ago • 2 comments

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.

s100 avatar May 05 '17 13:05 s100

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.

Splaktar avatar Dec 28 '18 20:12 Splaktar

I have the same problem. How to solve it?

YunYouJun avatar Jan 25 '19 09:01 YunYouJun