-
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
fix(gatsby-plugin-manifest): favicon path respects hybrid mode #8315
Conversation
Could we move
utils file, so implementation is not duplicated in 2 (or more files)?
|
You are right! And I remembered that Node already has a function to get the folder of a path: dirname But is it possible to require the path module from node in |
Hm... I realised now that not only the folder could be different, but also the filename, so I have to change that also. I will make a new commit later to account for that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @zauni!
In hybrid mode, you can have a different path for the icons. This path is used when the icons get generated, but the favicon
<link>
tag is not using it. This fixes it.