webpack-visualizer icon indicating copy to clipboard operation
webpack-visualizer copied to clipboard

How do I find out what's included in "+ modules" (plus modules)

Open dminkovsky opened this issue 6 years ago • 2 comments

I have a bundle that looks like this:

screen shot 2019-01-22 at 12 54 06 pm

I have no idea what the "+ 143 modules" could be. How do I find out what's included in those modules?

dminkovsky avatar Jan 22 '19 17:01 dminkovsky

@dminkovsky @balthazar @JrackTao I had the same question a while ago. You need to disable ModuleConcatenationPlugin

With webpack 4, you can do this by passing the following to the config:

      ...
      optimization: {
        concatenateModules: false,
      },

BTW this info looks like something that could go into README

jakub-g avatar Apr 30 '19 12:04 jakub-g

@jakub-g Thank you!

dminkovsky avatar May 01 '19 16:05 dminkovsky