From fb02f26e14462dd274a7110d0208b951610640fd Mon Sep 17 00:00:00 2001 From: Lionel Bijaoui Date: Wed, 17 Oct 2018 17:59:26 +0200 Subject: [PATCH] Fix deep property path not working - Deactivate `paths` option in 'lodash-webpack-plugin' --- build/webpack.build.config.js | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/build/webpack.build.config.js b/build/webpack.build.config.js index e451cac6..7d18f89d 100644 --- a/build/webpack.build.config.js +++ b/build/webpack.build.config.js @@ -73,7 +73,24 @@ module.exports = [ NODE_ENV: JSON.stringify("production") } }), - new LodashModuleReplacementPlugin(), + new LodashModuleReplacementPlugin({ + shorthands: true, + cloning: true, + currying: true, + caching: true, + collections: true, + exotics: true, + guards: true, + metadata: true, + deburring: true, + unicode: true, + chaining: true, + memoizing: true, + coercions: true, + flattening: true, + paths: false, + placeholders: true + }), new webpack.optimize.UglifyJsPlugin({ compress: { warnings: false