-
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
[plugin-manifest] Add option to opt-out of generating favicon (vs. pwa icon) #11308
Labels
help wanted
Issue with a clear description that the community can help with.
Comments
sidharthachatterjee
added
help wanted
Issue with a clear description that the community can help with.
type: feature or enhancement
labels
Jan 28, 2019
Thank you for opening this @seaneking We would love to accept a PR adding this! Would you be interested? |
Hello, can I take this task? |
gurpreet-hanjra
pushed a commit
that referenced
this issue
Jan 30, 2019
wardpeet
pushed a commit
that referenced
this issue
Jan 31, 2019
Thanks @gurpreet-hanjra for adding support for it. |
wardpeet
pushed a commit
that referenced
this issue
Feb 11, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
Currently
gatsby-plugin-manifest
automatically generates and links to a favicon as well as PWA style icons when in automatic or hybrid mode, and there's no way to opt-out of this behaviour without going full manual mode.The plugin should expose an opt-out flag for this, as it already does for other problematic on-by-default features (eg: theme-color tags). Especially since a) favicons are arguably out of scope for a PWA manifest-style featureset anyway, and b) it's trivial for users to include their own single favicon asset.
Basic example
Easiest way to accomplish this is to add another optional config parameter to the plugin
Motivation
It's very common to want very different assets for a favicon and PWA icon — eg: a small transparent icon for the favicon, and a more intricate icon with a background for the PWA manifest. While you can achieve this using 'manual' mode, that's a frustrating workaround for a fairly large use-case.
The text was updated successfully, but these errors were encountered: