Skip to content

Commit

Permalink
gatsby-plugin-subfong: Refactor default option
Browse files Browse the repository at this point in the history
  • Loading branch information
palindrom615 committed Feb 27, 2020
1 parent 8ddd6d4 commit 51658d8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/gatsby-plugin-subfont/src/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@ exports.onPostBuild = async ({ store }, options) => {

await subfont(
{
root: `file://${root}`,
root,
inPlace: true,
inlineCss: true,
silent: true,
inputFiles: urlPaths.map(currentPath =>
path.join(root, currentPath, `index.html`)
),
inputFiles: [path.join(root, `index.html`)],
...options,
},
console
Expand Down

0 comments on commit 51658d8

Please sign in to comment.