webpack-bundle-analyzer 2.8.3 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/parseUtils.js CHANGED
@@ -144,7 +144,7 @@ function isArgumentArrayConcatContainingChunks(arg) {
144
144
  function isModuleWrapper(node) {
145
145
  return (
146
146
  // It's an anonymous function expression that wraps module
147
- (node.type === 'FunctionExpression' && !node.id) ||
147
+ ((node.type === 'FunctionExpression' || node.type === 'ArrowFunctionExpression') && !node.id) ||
148
148
  // If `DedupePlugin` is used it can be an ID of duplicated module...
149
149
  isModuleId(node) ||
150
150
  // or an array of shape [<module_id>, ...args]