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-plugin-image): Correctly handle formats in StaticImage (#28618) #28630

Merged
merged 1 commit into from
Dec 15, 2020

Conversation

LekoArts
Copy link
Contributor

Backporting #28618 to the 2.29 release branch

(cherry picked from commit 912f30c)

…8618)

* Include formats prop

* Default to auto, webp

* fix(gatsby-plugin-sharp): Include default transform options for webp

* Update snapshots

* Is this why it fails?

* Allow time for other image

* Use jpg-only for lazy-load tests.
Lazy-load tests currently fail if there's a webp image. This will need a proper fix later, but not in this PR.
This reverts commit 7f1cd2a.

(cherry picked from commit 912f30c)
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Dec 15, 2020
@LekoArts LekoArts removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Dec 15, 2020
@LekoArts LekoArts merged commit eff15a1 into release/2.29 Dec 15, 2020
@LekoArts LekoArts deleted the backport-2.29-28618 branch December 15, 2020 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants