@yqg/webpack-version-plugin
v0.0.1
Published
Webpack Version Plugin for YQG
Downloads
30
Maintainers
Keywords
Readme
@yqg/webpack-version-plugin
Adds a json file to your webpack build with the webpack hash and time.
This can be used to help single page apps detect a new version.
Usage
new WebpackVersionHashPlugin(options)
Default options:
{
filename: 'version.json'
}
Output
{
"version": "44c56d816a031ada87401d28a1339b9a",
"date": "2018-06-26T12:07:16.683Z"
}