grunt-hashres
grunt-hashres copied to clipboard
Fix file reference with url parameters dropping ?=
If you have in your html file something like
<script src="myfile.js?v=4.2.0">
hashres ends up chopping off the ?=
from the replaced file
<script src="myfile.82828ef.js=4.2.0">
which is not a valid url. The problem seems to be in the capture after the url, which is not used in the replace.