Skip to content
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-transformer-sharp): Fix options override #29897

Merged
merged 1 commit into from
Mar 1, 2021
Merged

Conversation

laurieontech
Copy link
Contributor

Formats can be changed with gatsby-plugin-sharp options. This works for StaticImage but currently breaks for GatsbyImage because gatsby-transformer-sharp defaults it for you. Since we're already handling it inside plugin-sharp we can remove the resolver default.

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Mar 1, 2021
@laurieontech laurieontech added topic: media Related to gatsby-plugin-image, or general image/media processing topics and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Mar 1, 2021
@laurieontech laurieontech marked this pull request as draft March 1, 2021 19:55
@laurieontech laurieontech marked this pull request as ready for review March 1, 2021 19:59
@laurieontech laurieontech merged commit 57c131d into master Mar 1, 2021
@laurieontech laurieontech deleted the try-again branch March 1, 2021 20:24
vladar pushed a commit that referenced this pull request Mar 2, 2021
(cherry picked from commit 57c131d)
vladar pushed a commit that referenced this pull request Mar 2, 2021
(cherry picked from commit 57c131d)

Co-authored-by: LB <laurie@gatsbyjs.com>
pieh pushed a commit that referenced this pull request Mar 4, 2021
(cherry picked from commit 57c131d)
pieh pushed a commit that referenced this pull request Mar 4, 2021
(cherry picked from commit 57c131d)

Co-authored-by: LB <laurie@gatsbyjs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: media Related to gatsby-plugin-image, or general image/media processing topics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants