Skip to content

iamcco/gh-pages-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

gh-pages plugin for webpack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published