version-log-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

version-log-webpack-plugin

Why use this

To confirm whether the latest version has been updated.

Install

yarn add version-log-webpack-plugin --dev

Webpack config

const VersionLogPlugin = require('version-log-webpack-plugin')
// or
// const VersionLogPlugin = require('version-log-webpack-plugin').default

module.exports = {
  // ...
  plugins: [
    new VersionLogWebpackPlugin({
      version: `build-${Date.now()}` // anything what you want version info
    })
  ]
}

after webpack build, then look your browser console.

LICENSE

MIT

Package Sidebar

Install

npm i version-log-webpack-plugin

Weekly Downloads

4

Version

1.0.5

License

MIT

Unpacked Size

5.97 kB

Total Files

6

Last publish

Collaborators

  • kingzez