Skip to content

Commit

Permalink
fix(gatsby-remark-images): Use pathPrefix also with WebP files (#26472)
Browse files Browse the repository at this point in the history
  • Loading branch information
frncesc authored Aug 24, 2020
1 parent 44fb879 commit c8e8e32
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/gatsby-remark-images/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,7 @@ module.exports = (
{ toFormat: `WEBP` },
// override options if it's an object, otherwise just pass through defaults
options.withWebp === true ? {} : options.withWebp,
pluginOptions,
DEFAULT_OPTIONS
options
),
reporter,
})
Expand Down

0 comments on commit c8e8e32

Please sign in to comment.