webpack-bundle-analyzer: TypeError: currentFolder.addFile is not a function

Running into this issue:

Unable to find bundle asset "/filename_settings.js".
Analyzer will use module sizes from stats file.

Could't analyze webpack bundle:
TypeError: currentFolder.addFile is not a function

I just included BundleAnalyzerPlugin. My webpack bundle has multiple entry points and I’m only including the plugin by adding new BundleAnalyzerPlugin().

My webpack version is 1.13.2.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 32

Most upvoted comments

@jiayihu @ghoshnirmalya Can you try v1.4.2? I believe I fixed it there.