Skip to content

Commit

Permalink
Merge pull request #69 from taboola/master
Browse files Browse the repository at this point in the history
fix: flatting the cssStrings array before joining
  • Loading branch information
hupe1980 committed Dec 27, 2022
2 parents d2d41bf + e8d04f9 commit 37758a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gatsby-plugin-webfonts/src/web-fonts.js
Expand Up @@ -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);
}

0 comments on commit 37758a8

Please sign in to comment.