Answer the question
In order to leave comments, you need to log in
Gulp how to replace all src?
There is a task, to create, in addition to the build, also a production. folder.
In the prod, you need to replace all links (in css, js, html) with others (like ../prod/13/15/.. jpg).
how to do it better?
Answer the question
In order to leave comments, you need to log in
found a solution. plug-ins for galp, mb to be useful to someone.
https://www.npmjs.com/package/gulp-replace-image-src
https://www.npmjs.com/package/gulp-css-replace-url
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question