aboutsummaryrefslogtreecommitdiffstats
path: root/webpack.config.js
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-10-18 22:22:58 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-10-18 22:45:39 +0800
commit9b0f68f9a99574917616001b6cd95d54cb263df4 (patch)
treec00041cac1adc671243de5f091ad2c90e8033da8 /webpack.config.js
parentf4eb73ca7cd7451e4ea00eee84e8ab3909cd8b36 (diff)
downloaddexon-0x-contracts-9b0f68f9a99574917616001b6cd95d54cb263df4.tar.gz
dexon-0x-contracts-9b0f68f9a99574917616001b6cd95d54cb263df4.tar.zst
dexon-0x-contracts-9b0f68f9a99574917616001b6cd95d54cb263df4.zip
Include only used lodash functions
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 61a7e4196..caf45d31b 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -1,7 +1,6 @@
/**
* This is to generate the umd bundle only
*/
-const _ = require('lodash');
const webpack = require('webpack');
const path = require('path');
const production = process.env.NODE_ENV === 'production';
@@ -10,7 +9,7 @@ let entry = {
'index': './src/index.ts',
};
if (production) {
- entry = _.assign({}, entry, {'index.min': './src/index.ts'});
+ entry = Object.assign({}, entry, {'index.min': './src/index.ts'});
}
module.exports = {