diff options
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 = { |