Answer the question
In order to leave comments, you need to log in
How to replace characters in the name of several files using GULP in one task?
I used gulp-rename with the suffix option, the problem is that when this option is later included in the tasks, the suffix in the file name is added to the previous one, and the suffix characters need to be replaced.
Answer the question
In order to leave comments, you need to log in
Gulp-rename can take a function as a parameter. In a function, you can check if a suffix needs to be added.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question