1.0.3 • Published 1 year ago
webpack-update-version-plugin v1.0.3
webpack-update-version-plugin
Webpack plugin to autoincrement package version. It increments the mayor by 1 each time it is executed.
Installation
npm install webpack-update-version-plugin
To use it, load it as a plugin in your webpack.config.js file:
const WebpackUpdateVersionPlugin = require('webpack-update-version-plugin');
module.exports = {
plugins: [
new WebpackUpdateVersionPlugin()
]
}
it can also be added in optimize section of webpack.config.js file:
const WebpackUpdateVersionPlugin = require('webpack-update-version-plugin');
module.exports = {
optimization: {
minimizer: [
new WebpackUpdateVersionPlugin()
]
}
}