I
I
Ilya2018-12-03 09:22:15
JavaScript
Ilya, 2018-12-03 09:22:15

Gulp filename from folder name, how?

There is such a structure:
DrleROcvXdozmP.jpg
How to collect all files from each folder in js into one, under the folder name?
This is how it should turn out:
eAOKG4SxzGPBAo.jpg
I have no idea how to iterate over folders in gulp, except for flatmap , which iterates over everything that satisfies gulp.srcit was not found.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question