0.0.1 • Published 7 years ago

@yqg/webpack-version-plugin v0.0.1

Weekly downloads
5
License
MIT
Repository
-
Last release
7 years ago

@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"
}