Nondeterministic Programming Methodology

    This package has been deprecated

    Author message:

    This package is no longer maintained. Please fork it or move to something else like https://github.com/jantimon/favicons-webpack-plugin.

    @jahed/webpack-html-meta
    TypeScript icon, indicating that this package has built-in type declarations

    4.0.1 • Public • Published

    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.

    Keywords

    none

    Install

    npm i @jahed/webpack-html-meta

    DownloadsWeekly Downloads

    1

    Version

    4.0.1

    License

    MIT

    Unpacked Size

    14.6 kB

    Total Files

    11

    Last publish

    Collaborators

    • jahed