@jahed/webpack-html-meta v4.0.1
webpack-html-meta
Generate Meta tags and Favicons for your HTML as part of your Webpack build.
The Favicons are generated using favicons which takes one icon and
generates icons relevant to individual platforms (Android, iOS, Windows, Chrome, etc.).
Installation
Installation depends on your package manager of choice. Ensure you have also installed the peer dependencies. If you haven't, you'll see a warning.
Yarn
yarn add --dev @jahed/webpack-html-metaNPM
npm install --save-dev @jahed/webpack-html-metaExample
Here's how you might use this plugin in your webpack.config.js:
import { HtmlMetaPlugin } from '@jahed/webpack-html-meta'
// ...
plugins: [
//...
new HtmlMetaPlugin({
faviconSource: './favicon.png',
manifest: {
appName: 'My App',
icons: {
android: false
}
})
})
//...
]
//...For a full list of manifest options, see the docs for favicons.
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago