grunt-webfont
grunt-webfont copied to clipboard
Actually it's not possible use as font name a name with dots (font.name) with hashes option
Actually it's not possible use as font name a name with dots (font.name) with hashes option true because the regular expression that put hash will match the first dot so the result will be "font.name?hash.extension". A possible solution is to change the regex in webfont.js on line 561: url = url.replace(/(.\w+)/, '$1?' + o.hash); in url = url.replace(/(.\w+(?!.))/, '$1?' + o.hash);
+1
+1 with fontFilename