-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(gatsby-remark-images): adding missing plugin options #27944
fix(gatsby-remark-images): adding missing plugin options #27944
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! In a follow up I would use the webp schema of gatsby-plugin-sharp, try to require it in so we don't have to duplicate it.
I'm lacking context here. What do you mean by using the webp schema of sharp? I don't see it in https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-sharp/src/gatsby-node.js#L65 and it looks like it's typescript type is a |
(cherry picked from commit 08447bd)
Description
Fix the
withWebp
option ingatsby-remark-images
option schemaRelated Issues
#27437 (comment)