-
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
[gatsby-plugin-manifest] Buggy output (manifest file and images) #13055
Comments
Would you be interested in opening PR with fixes? For the first issue seems like we need to iterate over icons array and not rely on all icons being set to be in same directory and the second one you spot-on identified. |
@pieh I'm more of a Python dev than a JS dev so filing a full bug report and including the relevant lines is about the extent of how I can help. :-) |
That's fair ;) Thanks for helping identify faulty code that cause those bugs! |
I can put up a PR for this - I just noticed the include_favicon issue in my codebase |
#13059 made one |
## Description gatsby-plugin-manifest fails to create images when paths are different. ~~gatsby-plugin-manifest does not delete the include_favicon option when creating the manifest file.~~ ## Related Issues Fixes #13055
## Description gatsby-plugin-manifest fails to create images when paths are different. ~~gatsby-plugin-manifest does not delete the include_favicon option when creating the manifest file.~~ ## Related Issues Fixes gatsbyjs#13055
Description
include_favicon
option when creating the manifest file.Steps to reproduce
This happens because of https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-manifest/src/gatsby-node.js#L72-L73
For the
include_favicon
issue, this is because that option is not listed at https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-manifest/src/gatsby-node.js#L46-L55Expected result
Actual result
See description.
Environment
System:
OS: macOS 10.14.2
Shell: 3.0.2 - /usr/local/bin/fish
Binaries:
Node: 10.15.3 - ~/.asdf/installs/nodejs/10.15.3/bin/node
npmPackages:
gatsby: ^2.3.3 => 2.3.3
gatsby-image: ^2.0.35 => 2.0.35
gatsby-plugin-manifest: ^2.0.26 => 2.0.26
gatsby-plugin-offline: ^2.0.25 => 2.0.25
gatsby-plugin-postcss: ^2.0.7 => 2.0.7
gatsby-plugin-react-helmet: ^3.0.11 => 3.0.11
gatsby-plugin-sharp: ^2.0.32 => 2.0.32
gatsby-source-filesystem: ^2.0.28 => 2.0.28
gatsby-transformer-sharp: ^2.1.17 => 2.1.17
npmGlobalPackages:
gatsby-cli: 2.5.4
The text was updated successfully, but these errors were encountered: