@feizheng/html-banner-webpack-plugin

1.2.0 • Public • Published


html-banner-webpack-plugin

Adds a banner to the top of each generated html.

installation

npm install -D @feizheng/html-banner-webpack-plugin

usage

import HtmlBannerWebpackPlugin from 'html-banner-webpack-plugin';

// ....
plutins:[
  new HtmlBannerWebpackPlugin({
    banner:[
      'NAME: editor-frontend',
      'VERSION: v1.1.5-alpha.6',
      'BUILD_TIME: 4/12/2019, 11:01:20 PM'
    ]
  })
]
// ...

/@feizheng/html-banner-webpack-plugin/

    Package Sidebar

    Install

    npm i @feizheng/html-banner-webpack-plugin

    Weekly Downloads

    5

    Version

    1.2.0

    License

    MIT

    Unpacked Size

    4.37 kB

    Total Files

    6

    Last publish

    Collaborators

    • afeiship