From 58f73ee971599371fa8c3810111409af9146b935 Mon Sep 17 00:00:00 2001 From: Peter Velkov Date: Wed, 12 Apr 2017 12:15:15 +0300 Subject: [PATCH] Update `How to configure` example The importing of the plugin has changed to require('webpack-auto-inject-version').default; --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b18c225..0561420 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Example html: # How to configure In webpack.conf.js ( or any name of webpack conf file ) ```js -var WebpackAutoInject = require('webpack-auto-inject-version'); +var WebpackAutoInject = require('webpack-auto-inject-version').default; module.exports = { plugins: [