Skip to content

Commit

Permalink
fix: add plugin sharp config option
Browse files Browse the repository at this point in the history
  • Loading branch information
vpicone committed Jun 12, 2020
1 parent 87d733f commit de212d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 34 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/prerelease.yml

This file was deleted.

2 changes: 2 additions & 0 deletions packages/gatsby-theme-carbon/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ module.exports = (themeOptions) => {
mediumAccount = '',
gatsbyRemarkPlugins = [],
remarkPlugins = [],
gatsbyPluginSharpOptions = {},
} = themeOptions;

const optionalPlugins = [];
Expand All @@ -46,6 +47,7 @@ module.exports = (themeOptions) => {
quality: imageQuality,
withWebp,
pngCompressionSpeed,
...gatsbyPluginSharpOptions,
},
},
{ resolve: `gatsby-remark-responsive-iframe` },
Expand Down

0 comments on commit de212d5

Please sign in to comment.