diff --git a/gatsby-plugin-webfonts/src/web-fonts.js b/gatsby-plugin-webfonts/src/web-fonts.js index 0fb9272..1ee746c 100644 --- a/gatsby-plugin-webfonts/src/web-fonts.js +++ b/gatsby-plugin-webfonts/src/web-fonts.js @@ -35,7 +35,7 @@ export default async function webFonts(options, reporter) { }), ); - const css = await merge(cssStrings.join(``)); + const css = await merge(cssStrings.flat().join(``)); const filePath = path.join(options.cacheFolder, `webfonts.css`); await fs.outputFile(filePath, css); }