Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not seem to inline fonts #133

Open
pmnc opened this issue Feb 12, 2019 · 2 comments
Open

does not seem to inline fonts #133

pmnc opened this issue Feb 12, 2019 · 2 comments

Comments

@pmnc
Copy link

pmnc commented Feb 12, 2019

  '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;
}
@itssumitrai
Copy link

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.

@kolezka
Copy link

kolezka commented Mar 13, 2022

any updates around it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants