I'm running some html files i na template engine and all assets are declared like this:
<link rel="stylesheet" href="$href('libs/bootstrap.min.css')">
<script src="$href('libs/jquery.js')"></script>
When I run $.useref it does move files to the correct folders, but leaves the .html files with the absolute and relative paths that should normally have. Is there a way I can edit $.useref "template" for script and link tags pointing to the right place and prepending/appending $href('') inside the src and href attributes? Is there any other gulp plugin that can do this?
Finally did it with gulp-replace: