What does webpack mean by XX hidden modules

JavascriptBuildWebpack

Javascript Problem Overview


I've been playing with webpack and during the build I see it output: + 27 hidden modules. What does it mean by this? Is it detecting global constants that I'm using without requiring them?

Javascript Solutions


Solution 1 - Javascript

Webpack hides modules coming from folders like ["node_modules", "bower_components", "jam", "components"] in your console output by default. This helps you to focus on your modules instead on your dependencies.

You can display them by using the --display-modules argument.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionChristian SchlenskerView Question on Stackoverflow
Solution 1 - JavascriptJohannes EwaldView Answer on Stackoverflow