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 publishoptions
is the options for publish- see gh-pages for more detail