diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-18 22:22:58 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-18 22:45:39 +0800 |
commit | 9b0f68f9a99574917616001b6cd95d54cb263df4 (patch) | |
tree | c00041cac1adc671243de5f091ad2c90e8033da8 /webpack.config.js | |
parent | f4eb73ca7cd7451e4ea00eee84e8ab3909cd8b36 (diff) | |
download | dexon-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.js | 3 |
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 = { |