gh-pages-webpack-plugin

1.0.2 • Public • Published

Usage

webpack.config.js

var GhPagesWebpackPlugin = require('gh-pages-webpack-plugin');
...

plugins: [
    new GhPagesWebpackPlugin({
        path: './public',
        options: {
            message: 'Update Home Page',
            user: {
                name: '年糕小豆汤',
                email: 'ooiss@qq.com'
            }
        }
    })
]

...

  • path is the directory to be publish
  • options is the options for publish
  • see gh-pages for more detail

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i gh-pages-webpack-plugin

    Weekly Downloads

    6

    Version

    1.0.2

    License

    ISC

    Last publish

    Collaborators

    • yuuko