-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
remove favicon.ico by default #108
Comments
This sounds reasonable but we currently don't have a way to copy arbitrary files into the compiled folder. So favicon is treated "specially" and this is why we don't allow removing it. If we remove it we would also need to introduce a way to add static assets outside the |
We could probably detect if a |
If it didn't come bundled, how would you guess that putting favicon.ico in project root magically works? You would probably try to add a link tag yourself, and you would think that you can reference any other file like this (like custom iOS home icons). But surprisingly that won't work. |
That's actually true, hmm… |
I want to address this. But not as a separate feature. It should be solved at the same time with #28. |
What's the downside of the status quo - you just don't like having a favicon.ico file around if you don't want a favicon for your project? It doesn't seem too bad to just use the default one in that case. |
I would think most projects should have a favicon.ico file at their root. We could perhaps integrate with/recommend http://realfavicongenerator.net/ to people to make it easier for people to get set up with a decent favicon? |
We probably won’t do this unless this is commonly requested. (It doesn’t seem to be so far.) |
Would be good if html-webpack-plugin could allow to require files from template:
Or something like that. |
Yea, this is pretty much how I’d like it to work. Is it definitely not supported? Maybe we’re just doing it some wrong way. |
Looking at the sources of |
There's html-loader which does a similar thing, wondering if it can be used along with html-webpack-plugin. |
This is why I asked: I sort of assumed HtmlWebpackPlugin would use |
Worth trying? |
Angular starterkit uses the following code for favicon. https://github.com/angular/universal-starter/blob/master/src/index.html
It would be good if create-react-app did the same.
favicon.ico
can also be supported specially for those who want to have custom favicon files that they want to publish.The text was updated successfully, but these errors were encountered: