Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Break down "+ x modules" for more information #162

Closed
flopes89 opened this issue Mar 22, 2018 · 3 comments
Closed

Break down "+ x modules" for more information #162

flopes89 opened this issue Mar 22, 2018 · 3 comments

Comments

@flopes89
Copy link

Issue description

What does the "+ x modules" description mean exactly? Given e.g. this analyzer output:

4lxvw

What exactly does the huge "+ x modules" mean? How can I analyze it / break it down further to see, whats inside?

Technical info

  • Webpack Bundle Analyzer version: 2.11.1
  • Webpack version: 3.8.0
  • Node.js version: 8.9.0
  • npm/yarn version: 5.5.1
  • OS: Windows 7x64

Debug info

How do you use this module?

plugin

If plugin, what options were provided?

new BundleAnalyzerPlugin({
	analyzerMode: "static",
	reportFilename: "../bundle-analyzer.html",
	openAnalyzer: false,
}),

What other Webpack plugins were used?

"brotli-webpack-plugin": "0.4.1",
"chunk-manifest-webpack-plugin": "git+https://github.com/reactql/chunk-manifest-webpack-plugin.git",
"i18n-webpack-plugin": "1.0.0",
"copy-webpack-plugin": "4.1.1",
"extract-text-webpack-plugin": "3.0.1",
"html-webpack-plugin": "2.30.1",
"image-webpack-loader": "3.4.2",
"webpack-chunk-hash": "0.5.0",
"webpack-config": "7.5.0",
"webpack-dev-server": "2.9.2",
"webpack-manifest-plugin": "1.3.2",
"webpack-node-externals": "1.6.0",
@valscion
Copy link
Member

Hi! Thanks for the detailed issue description ☺️

This is a known issue, and in this case, a duplicate of #115. With webpack 4, we will get enough details to show an approximation of what is in these "+ x modules" — see #158 for the new feature 🎉

The new feature can be a bit misleading as it doesn't filter away tree-shaked modules. And for that case, we've got #161.

@valscion
Copy link
Member

valscion commented Mar 22, 2018

Oh, and you could get visibility into these opaque chunks by removing usage of webpack.optimize.ModuleConcatenationPlugin in your webpack configuration.

@flopes89
Copy link
Author

Thanks for the pointers! I will check them out and follow them :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants