You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Webpack config (standard configuration)
new FaviconsWebpackPlugin({
// Your source logo (required)
logo: './logo.png',
// Enable caching and optionally specify the path to store cached data
// Note: disabling caching may increase build times considerably
cache: true,
// Override the publicPath option usually read from webpack configuration
// publicPath: '/static',
// The directory to output the assets relative to the webpack output dir.
// Relative string paths are allowed here ie '../public/static'. If this
// option is not set, `prefix` is used.
// outputPath: '/public/static',
// Prefix path for generated assets
prefix: 'assets/',
// Inject html links/metadata (requires html-webpack-plugin).
// This option accepts arguments of different types:
// * boolean
// `false`: disables injection
// `true`: enables injection if that is not disabled in html-webpack-plugin
// * function
// any predicate that takes an instance of html-webpack-plugin and returns either
// `true` or `false` to control the injection of html metadata for the html files
// generated by this instance.
inject: false,
devMode: 'light',
// Favicons configuration options (see below)
favicons: {
appName: '***',
appDescription: '***',
developerName: '***.',
developerURL: 'http://andweb.cz', // prevent retrieving from the nearest package.json
background: '#fff',
theme_color: '#ffffff'
}
})
Where do I get the sizes that are listed or how do I configure it? Where is the betrayal? Or how i get fresh HTML injection list which will be correct?
Many thx.
The text was updated successfully, but these errors were encountered:
No worries. Readme-files are not always up to date. Some of those resolutions are related to not supported devices.
E.g. 320x480 is a resolution of iPhone 1st gen and 640x960 is a resolution of iPhone 4. Both are effectively dead.
Hi, in my build (generated via Vue + Webpack) im missing to many icons
eg:
My list has many different sizes
My logo has about 2000px (PNG)
HTML injection list of generated links with icons from doc https://github.com/jantimon/favicons-webpack-plugin#html-injection looks different from https://github.com/itgalaxy/favicons#usage
Where do I get the sizes that are listed or how do I configure it? Where is the betrayal? Or how i get fresh HTML injection list which will be correct?
Many thx.
The text was updated successfully, but these errors were encountered: