Never Perfectly Managed

    @yqg/webpack-plugin
    TypeScript icon, indicating that this package has built-in type declarations

    5.0.2 • Public • Published

    @yqg/webpack-plugin WebpackVersionPlugin

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

    Keywords

    none

    Install

    npm i @yqg/webpack-plugin

    DownloadsWeekly Downloads

    23

    Version

    5.0.2

    License

    MIT

    Unpacked Size

    8.2 kB

    Total Files

    10

    Last publish

    Collaborators

    • hongweihu
    • iuwoo
    • ykboluo
    • yqg-owner
    • jxlnljt
    • yulodl
    • center620
    • zhchy
    • guxiaodai
    • northseacoder
    • wenxiujiang
    • zzj5470816
    • lixiaoxue
    • yyh_
    • szll
    • zhayoyang