fix: bypass loading Oxygen Mono by broken gatsby-plugin-prefetch-google-fonts

This commit is contained in:
Jean-Philippe Sirois
2020-05-22 01:33:51 -04:00
parent 2008c155f7
commit 73adc8d46d
4 changed files with 14 additions and 5 deletions
+7 -4
View File
@@ -16,10 +16,6 @@ module.exports = {
family: `Inter`,
variants: [`400`, `700`],
},
{
family: `Oxygen Mono`,
variants: [`400`],
},
{
family: `Montserrat`,
variants: [`400`, `700`],
@@ -27,6 +23,13 @@ module.exports = {
],
},
},
{
resolve: `gatsby-plugin-google-fonts`,
options: {
fonts: [`Oxygen Mono\:400`],
display: "swap",
},
},
`gatsby-plugin-layout`,
{
resolve: `gatsby-transformer-remark`,