postcss-url
postcss-url copied to clipboard
does not seem to inline fonts
'postcss-url': [
{
filter: 'font/**/*.(woff|woff2)',
url: 'inline',
fallback: 'rebase',
maxSize: 10000,
encodeType: 'base64',
assetsPath: '../stylesheets/fonts'
},
does not inline in base 64 ! I got :
@font-face {
font-family: 'OpenSansLightweight';
src: url(/vstatic/0/javascripts/../fonts/open-sans-lightweight-15cd988172e549b38ccea9b640c70bbc.woff);
font-weight: normal;
font-style: normal;
}
Also doesn't inline .cur
files for custom cursors. I checked that the file.mimetype
for .cur
file is not present. Might be similar problem for font files.
any updates around it?