grunt-data-uri
grunt-data-uri copied to clipboard
Windows relative file path and slash\backslash bug
needle C:!WORK\project\img\common\prev.png Ignore: ../../img/common/prev.png
data-uri.js line around 90 if (haystack.indexOf(needle) !== -1) { // never here }
Found replacing line 81 with this works:
fixedUri = uri.indexOf('/') === 0 ? '../' + uri : uri;