Answer the question
In order to leave comments, you need to log in
How to make gulp parse paths?
I have an index.html in which, for example, there is this line: <img src="picture.png" />
In the case of webpack, I do not need to specify the path to this image when building. I'm just saying that he should look at the code in all files, and if he stumbles upon something similar to *.png, then he throws this file into build / img /, and he replaces the path in the file with <img src="/img/picture.png" />
: gulp? I know that these are completely different technologies with their own approach, but I would like not to play with the paths and live easier :(
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