fix(build-system): fix lodash imports (#2818)

pull/2820/head
William 2019-04-08 12:35:02 +12:00 committed by Anthony Lapenna
parent e4a81df42e
commit 0f8de0a039
1 changed files with 2 additions and 1 deletions

View File

@ -93,7 +93,8 @@ module.exports = {
new IgnorePlugin(/^\.\/locale$/, /moment$/), new IgnorePlugin(/^\.\/locale$/, /moment$/),
// new BundleAnalyzerPlugin() // new BundleAnalyzerPlugin()
new LodashModuleReplacementPlugin({ new LodashModuleReplacementPlugin({
shorthands: true shorthands: true,
collections: true
}) })
], ],
optimization: { optimization: {