gulp-css-url-adjuster
gulp-css-url-adjuster copied to clipboard
hash in URL
Some icon font formats needs hash in URL. With append it look like this example:
@font-face {
font-family: 'Glyphicons Halflings';
src: url("/fonts/glyphicons-halflings-regular.eot?v5");
src: url("/fonts/glyphicons-halflings-regular.eot?#iefix?v5")format('embedded-opentype'),
url("/fonts/glyphicons-halflings-regular.woff?v5")format('woff'),
url("/fonts/glyphicons-halflings-regular.ttf?v5")format('truetype'),
url("/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular?v5")format('svg');
}
Sadly there is no way to do it correct like this:
@font-face {
font-family: 'Glyphicons Halflings';
src: url("/fonts/glyphicons-halflings-regular.eot?v5");
src: url("/fonts/glyphicons-halflings-regular.eot?v5#iefix")format('embedded-opentype'),
url("/fonts/glyphicons-halflings-regular.woff?v5")format('woff'),
url("/fonts/glyphicons-halflings-regular.ttf?v5")format('truetype'),
url("/fonts/glyphicons-halflings-regular.svg?v5#glyphicons_halflingsregular")format('svg');
}
It will be cool to have an option to solve this problem correctly.
:+1: Also got this problem.
I have created a fork version, and add some features, including this one. Check here: gulp-ex-css-url-adjuster