KyleAMathews/typography.js

Adding display=swap to GoogleFont in react-typography

emanueleperuffo opened this issue · 0 comments

Hi and sorry for not opening a PR about this, but I don't know the consequences of changing code here (Gatsby plugin etc...).

My Lighthouse is telling me I should improve the way my fonts are loading. In fact I have some google fonts missing the display=swap query parameter. Have you ever thought of including it? Maybe as a prop of GoogleFont in react-typography and an option in the Gatsby plugin.