Answer the question
In order to leave comments, you need to log in
Gulp: how to not convert marked files when copying to production assembly?
Good afternoon!
The task is as follows:
There is an image that, as it seems to me, does not require optimization . on the contrary, I would improve the quality of this picture. And of course, I can do everything by hand, put the image in dist, removing it from src. But I want to automate such cases. For example, by adding some prefix to the file name , which will go to the assembly without transformations .
I know that you can make exceptions (!), gulp will see this line and the path to the template files, and will ignore these files. But I still want to copy them, and not completely eliminate them.. Running a separate construction to copy such files is probably not entirely correct. Somewhat primitive.
Is there any galp module that solves all this? Or how do you deal with such a task ?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question