Maybe somebody can point me to the solution.
I have HTML-files with several script tags. I need to
- pipe the referenced script files
- replace block in html-file with dynamic path
I tried using gulp-useref and it does everything i need but it doesn't allow to change replacement script name dynamically (it has to be stated in html comment)
Another plugin gulp-html-replace completely covers my replacement needs but doesn't pipe referenced scripts at all.
What is a common way to solve this kind of tasks? As it doesn't seem to be a strange one. Thanks in advance.
Finally just decided to use both of them.
HTML:
And in gulpfile.js: