Skip to content

Commit c8e8e32

Browse files
authored
fix(gatsby-remark-images): Use pathPrefix also with WebP files (#26472)
1 parent 44fb879 commit c8e8e32

File tree

1 file changed

+1
-2
lines changed
  • packages/gatsby-remark-images/src

1 file changed

+1
-2
lines changed

packages/gatsby-remark-images/src/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,7 @@ module.exports = (
218218
{ toFormat: `WEBP` },
219219
// override options if it's an object, otherwise just pass through defaults
220220
options.withWebp === true ? {} : options.withWebp,
221-
pluginOptions,
222-
DEFAULT_OPTIONS
221+
options
223222
),
224223
reporter,
225224
})

0 commit comments

Comments
 (0)