diff options
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js index caf45d31b..61a7e4196 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,6 +1,7 @@ /** * 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'; @@ -9,7 +10,7 @@ let entry = { 'index': './src/index.ts', }; if (production) { - entry = Object.assign({}, entry, {'index.min': './src/index.ts'}); + entry = _.assign({}, entry, {'index.min': './src/index.ts'}); } module.exports = { |