@yqg/webpack-version-plugin

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @yqg/webpack-version-plugin

Weekly Downloads

5

Version

0.0.1

License

MIT

Unpacked Size

1.78 kB

Total Files

3

Last publish

Collaborators

  • yqg-owner
  • yulodl
  • center620
  • guxiaodai
  • northseacoder
  • zzj5470816
  • yyh_
  • szll
  • zhayoyang
  • hongweihu
  • devmsg
  • ykboluo
  • iuwoo
  • runrunr
  • remmurd1
  • lwwshare
  • hanyefeng
  • xuliangmost
  • zhenkunliu2
  • shaotanliang
  • wangxuehao_yqg
  • mozhichen
  • ly-wangtao
  • elgar_adah