No description
Find a file
2016-10-20 07:58:19 +01:00
dist first commit 2016-10-20 07:58:19 +01:00
src first commit 2016-10-20 07:58:19 +01:00
typings first commit 2016-10-20 07:58:19 +01:00
.gitignore first commit 2016-10-20 07:58:19 +01:00
.npmignore first commit 2016-10-20 07:58:19 +01:00
package.json first commit 2016-10-20 07:58:19 +01:00
README.md first commit 2016-10-20 07:58:19 +01:00
tsconfig.json first commit 2016-10-20 07:58:19 +01:00
typings.json first commit 2016-10-20 07:58:19 +01:00

In development

Installation

npm i webpack-auto-inject-version --save-dev

Usage

Add plugin to your webpack configuration.

Require it by: var WebpackAutoInject = require('webpack-auto-inject-version');

And add to plugins array as one of the last items ( further = better ). plugins: [ new WebpackAutoInject(options) ]

Options

NOT SUPPORTED YET! autoIncrease : boolean, injectIntoHtml : boolean,

Auto Increase Version

Option: autoIncrease : true

  • run webpack with --release major|minor|patch DO NOT RUN IT WITH WATCH!