0.2.2 • Published 8 years ago

webpack-version-bumper v0.2.2

Weekly downloads
1
License
MIT
Repository
-
Last release
8 years ago

webpack plugin for build number bumping

var VersionBumper = require('webpack-version-bumper');

module.exports = {
  ...
  'plugins': [
    new VersionBumper("./src/version.js", { "target": "es6", "format": "$major.$minor.$patch.$build" })
  ],
};

Available targets are:

  • es6
  • json
  • commonjs

Then you can include the version in your entry file:

var version = require("./version");
version.majorVersion
version.minorVersion
version.buildNumber
version.toString()
version.toJson()
0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago