mirror of https://github.com/portainer/portainer
fix(webpack): fix bug with lodash
parent
4accf4a4c7
commit
f538e4e626
|
@ -107,7 +107,9 @@ module.exports = {
|
|||
new CleanWebpackPlugin(['dist/public']),
|
||||
new IgnorePlugin(/^\.\/locale$/, /moment$/),
|
||||
// new BundleAnalyzerPlugin()
|
||||
new LodashModuleReplacementPlugin()
|
||||
new LodashModuleReplacementPlugin({
|
||||
shorthands: true
|
||||
})
|
||||
],
|
||||
optimization: {
|
||||
splitChunks: {
|
||||
|
|
Loading…
Reference in New Issue