-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(gatsby-plugin-image): Correctly handle formats in StaticImage (#2…
…8618) (#28630) * 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) Co-authored-by: Matt Kane <matt@gatsbyjs.com>
- Loading branch information
Showing
3 changed files
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters