I
I
illooill2020-10-30 12:51:03
JavaScript
illooill, 2020-10-30 12:51:03

How to replace path(src href) of all .html files when building gulp?

Can you please tell me how to change the paths for tags that have the href and css attribute in the final assembly?
Here is a sample code
5f9be1fa3591c906897859.png
. The result should be
5f9be1aa0d7bc664635545.png
Thanks for the answer.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex, 2020-10-30
@illooill

https://www.npmjs.com/package/gulp-replace

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question