From f538e4e62692ce1496f76afe2d5230fba35a68b7 Mon Sep 17 00:00:00 2001 From: Chaim Lev-Ari Date: Thu, 29 Nov 2018 09:54:26 +0200 Subject: [PATCH] fix(webpack): fix bug with lodash --- webpack/webpack.common.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webpack/webpack.common.js b/webpack/webpack.common.js index 0cbda5f26..b9658f27b 100644 --- a/webpack/webpack.common.js +++ b/webpack/webpack.common.js @@ -107,7 +107,9 @@ module.exports = { new CleanWebpackPlugin(['dist/public']), new IgnorePlugin(/^\.\/locale$/, /moment$/), // new BundleAnalyzerPlugin() - new LodashModuleReplacementPlugin() + new LodashModuleReplacementPlugin({ + shorthands: true + }) ], optimization: { splitChunks: {