{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/6726","repository_url":"https://api.github.com/repos/webpack/webpack","labels_url":"https://api.github.com/repos/webpack/webpack/issues/6726/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/6726/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/6726/events","html_url":"https://github.com/webpack/webpack/issues/6726","id":304245809,"number":6726,"title":"config.stats has no option to show hidden modules (CLI: --display-modules)","user":{"login":"ARDivekar","id":8165700,"avatar_url":"https://avatars0.githubusercontent.com/u/8165700?v=4","gravatar_id":"","url":"https://api.github.com/users/ARDivekar","html_url":"https://github.com/ARDivekar","followers_url":"https://api.github.com/users/ARDivekar/followers","following_url":"https://api.github.com/users/ARDivekar/following{/other_user}","gists_url":"https://api.github.com/users/ARDivekar/gists{/gist_id}","starred_url":"https://api.github.com/users/ARDivekar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ARDivekar/subscriptions","organizations_url":"https://api.github.com/users/ARDivekar/orgs","repos_url":"https://api.github.com/users/ARDivekar/repos","events_url":"https://api.github.com/users/ARDivekar/events{/privacy}","received_events_url":"https://api.github.com/users/ARDivekar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-12T05:32:45Z","updated_at":"2018-03-12T07:09:09Z","closed_at":null,"author_association":"NONE","body":"**Do you want to request a *feature* or report a *bug*?**\r\nFeature\r\n\r\n**What is the current behavior?**\r\nIn [the docs](https://webpack.js.org/configuration/stats/#stats) I'm trying to find the option of `config.stats` that replicates `--display-modules`, but I can't seem to find it.\r\nSetting `config.stats` to `\"verbose\"` shows all the modules; I'm not using that since it is not sorted by depth (which is part of what I require).\r\nI have tried setting `stats.maxModules` to `100000`, but that does not show them either.\r\n\r\n**If the current behavior is a bug, please provide the steps to reproduce.**\r\nN/A\r\n\r\n**What is the expected behavior?**\r\nSetting `config.stats.hiddenModules` to `true` will show the hidden modules, as with `--display-modules` on the CLI.\r\n\r\n**If this is a feature request, what is motivation or use case for changing the behavior?**\r\nParity of `config.stats` with the CLI.\r\n\r\n**Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.**\r\nWebpack 4.1.0"},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/372212069","html_url":"https://github.com/webpack/webpack/issues/6726#issuecomment-372212069","issue_url":"https://api.github.com/repos/webpack/webpack/issues/6726","id":372212069,"user":{"login":"sokra","id":1365881,"avatar_url":"https://avatars0.githubusercontent.com/u/1365881?v=4","gravatar_id":"","url":"https://api.github.com/users/sokra","html_url":"https://github.com/sokra","followers_url":"https://api.github.com/users/sokra/followers","following_url":"https://api.github.com/users/sokra/following{/other_user}","gists_url":"https://api.github.com/users/sokra/gists{/gist_id}","starred_url":"https://api.github.com/users/sokra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sokra/subscriptions","organizations_url":"https://api.github.com/users/sokra/orgs","repos_url":"https://api.github.com/users/sokra/repos","events_url":"https://api.github.com/users/sokra/events{/privacy}","received_events_url":"https://api.github.com/users/sokra/received_events","type":"User","site_admin":false},"created_at":"2018-03-12T07:09:09Z","updated_at":"2018-03-12T07:09:09Z","author_association":"OWNER","body":"Send a PR"}}
{"actor":{"display_login":"sokra"}}