https://github.com/iamcco/gh-pages-webpack-plugin
gh-pages plugin for webpack
https://github.com/iamcco/gh-pages-webpack-plugin
Last synced: 9 months ago
JSON representation
gh-pages plugin for webpack
- Host: GitHub
- URL: https://github.com/iamcco/gh-pages-webpack-plugin
- Owner: iamcco
- License: isc
- Created: 2016-06-14T16:06:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-23T13:04:44.000Z (over 8 years ago)
- Last Synced: 2025-03-25T03:27:11.125Z (10 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### 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](https://www.npmjs.com/package/gh-pages) for more detail