-
Notifications
You must be signed in to change notification settings - Fork 27.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
FaviconsWebpackPlugin won't generate icons, inject them into head #3068
Comments
Does it run My issue is to found out a way to make |
Hmmm I'm facing similar issues with next 5 despite universal webpack. Similar setup to above: return Object.assign({}, nextConfig, {
webpack(config, options) {
config.plugins.push(
new FaviconsWebpackPlugin({
logo: './static/img/favicon.png',
inject: true
})
)
config.plugins.push(
new HtmlWebpackPlugin()
)
}
} I see nothing injected when running in both prod & dev Am I perhaps missing something important? @timneutkens :P I do have a custom _document.js... perhaps I need to modify that in some way to inject the necessary tags within |
The favicons will probably end up somewhere in the |
my config (tidied)
I'd expect that the favicons-webpack-plugin generates the icons, and the html-webpack-plugin inject it in the
<head/>
of the page. Which it doesn't.Steps to Reproduce
.env
file withdocker-compose up
Environment
The text was updated successfully, but these errors were encountered: