I am using your grunt-webfont task in my process for building websites and I found that it does create a hash for the #iefix and I can't find a way to add it using the template and templateOptions of the grunt plugin.
Here is what I have :
@font-face { font-family:"icons"; src:url("fonts/icons.eot?f30e627bd5abb297d045dd2dceeaa7f8"); src:url("fonts/icons.eot?#iefix") format("embedded-opentype"), url("fonts/icons.woff2?f30e627bd5abb297d045dd2dceeaa7f8") format("woff2"), url("fonts/icons.woff?f30e627bd5abb297d045dd2dceeaa7f8") format("woff"), url("fonts/icons.ttf?f30e627bd5abb297d045dd2dceeaa7f8") format("truetype"), url("fonts/icons.svg?f30e627bd5abb297d045dd2dceeaa7f8#icons") format("svg"); font-weight:normal; font-style:normal; }
I think we need something like this for cache busting :
@font-face { font-family:"icons"; src:url("fonts/icons.eot?f30e627bd5abb297d045dd2dceeaa7f8"); src:url("fonts/**icons.eot?f30e627bd5abb297d045dd2dceeaa7f8#iefix**") format("embedded-opentype"), url("fonts/icons.woff2?f30e627bd5abb297d045dd2dceeaa7f8") format("woff2"), url("fonts/icons.woff?f30e627bd5abb297d045dd2dceeaa7f8") format("woff"), url("fonts/icons.ttf?f30e627bd5abb297d045dd2dceeaa7f8") format("truetype"), url("fonts/icons.svg?f30e627bd5abb297d045dd2dceeaa7f8#icons") format("svg"); font-weight:normal; font-style:normal; }
Hi,
I am using your grunt-webfont task in my process for building websites and I found that it does create a hash for the #iefix and I can't find a way to add it using the template and templateOptions of the grunt plugin.
Here is what I have :
@font-face { font-family:"icons"; src:url("fonts/icons.eot?f30e627bd5abb297d045dd2dceeaa7f8"); src:url("fonts/icons.eot?#iefix") format("embedded-opentype"), url("fonts/icons.woff2?f30e627bd5abb297d045dd2dceeaa7f8") format("woff2"), url("fonts/icons.woff?f30e627bd5abb297d045dd2dceeaa7f8") format("woff"), url("fonts/icons.ttf?f30e627bd5abb297d045dd2dceeaa7f8") format("truetype"), url("fonts/icons.svg?f30e627bd5abb297d045dd2dceeaa7f8#icons") format("svg"); font-weight:normal; font-style:normal; }
I think we need something like this for cache busting :
@font-face { font-family:"icons"; src:url("fonts/icons.eot?f30e627bd5abb297d045dd2dceeaa7f8"); src:url("fonts/**icons.eot?f30e627bd5abb297d045dd2dceeaa7f8#iefix**") format("embedded-opentype"), url("fonts/icons.woff2?f30e627bd5abb297d045dd2dceeaa7f8") format("woff2"), url("fonts/icons.woff?f30e627bd5abb297d045dd2dceeaa7f8") format("woff"), url("fonts/icons.ttf?f30e627bd5abb297d045dd2dceeaa7f8") format("truetype"), url("fonts/icons.svg?f30e627bd5abb297d045dd2dceeaa7f8#icons") format("svg"); font-weight:normal; font-style:normal; }
Thanks for your help