-
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-manifest): Fix incorrect favicons size bug (#12081)
* fix(gatsby-plugin-manifest): Fix incorrect favicons size bug (#12051) Fix #12051 issue * fix: non square image issue add height and width paramaters to sharp change fit to 'cover' to not malform image set background to be transparent to eliminate black bars add better logging to warn user when src image isn't square. * fix: lint error * fix: cleanup warning * refactor: move to async await * test: fix tests to work with sharp.metadata()
- Loading branch information
Showing
2 changed files
with
109 additions
and
60 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