Closed JayBauer closed 6 years ago
Having the same issue, in my case with font-family: 'Open Sans'
@jonathantneal Confirming with font-family: 'Roboto Mono'
, using single or double quotes. The actual font name does not seem to matter, just that it's quoted. It's worth noting that even when unquoted, it will build, but does not do anything.
@JayBauer @timkelty @jhpratt
I can't reproduce these issues. The pfm
works with font-family: sans-serif
or font-family: 'Open Sans
as expected. Please provide more information about Postcss
and PFM
versions and settings
If I have a rule such as
font-family: sans-serif;
, I'm getting the errorCannot read property 'charCodeAt' of undefined
in my console. However,font-family: "Source Sans Pro", sans-serif;
gives me no trouble. Seems to be only when there's no string available that the issue occurs.I have confirmed this is
font-magician
's doing, and have confirmed that it happens regardless of my PostCSS plugin load order, even whenfont-magician
is the only plugin being used.This wouldn't be a huge issue for a typical user-generated CSS sheet, but certain libraries such as normalize.css have a lot of these types of rules for resets. Is there a known fix for this problem?