4.0.1 • Published 4 years ago

@jahed/webpack-html-meta v4.0.1

Weekly downloads
2
License
MIT
Repository
-
Last release
4 years ago

webpack-html-meta

Travis npm Patreon Liberapay

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-meta

NPM

npm install --save-dev @jahed/webpack-html-meta

Example

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.

4.0.1

4 years ago

4.0.0

4 years ago

2.3.0

4 years ago

2.2.0

4 years ago

2.1.10

4 years ago

2.1.9

4 years ago

2.1.8

4 years ago

2.1.7

4 years ago

2.1.6

4 years ago

2.1.5

5 years ago

2.1.4

5 years ago

2.1.3

5 years ago

2.1.2

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.0

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago