Fix lodash import bug in webpack config

This commit is contained in:
Leonid Logvinov 2017-06-15 13:23:06 +02:00
parent 6790ca136e
commit 5deeca4b68
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4

View File

@ -1,7 +1,7 @@
/** /**
* This is to generate the umd bundle only * This is to generate the umd bundle only
*/ */
const lodash = require('lodash'); const _ = require('lodash');
const webpack = require('webpack'); const webpack = require('webpack');
const path = require('path'); const path = require('path');
const production = process.env.NODE_ENV === 'production'; const production = process.env.NODE_ENV === 'production';