Update How to configure example

The importing of the plugin has changed to 
require('webpack-auto-inject-version').default;
This commit is contained in:
Peter Velkov 2017-04-12 12:15:15 +03:00 committed by GitHub
parent 407281479a
commit 58f73ee971

View file

@ -37,7 +37,7 @@ Example html:
# How to configure # How to configure
In webpack.conf.js ( or any name of webpack conf file ) In webpack.conf.js ( or any name of webpack conf file )
```js ```js
var WebpackAutoInject = require('webpack-auto-inject-version'); var WebpackAutoInject = require('webpack-auto-inject-version').default;
module.exports = { module.exports = {
plugins: [ plugins: [