{"action":"opened","issue":{"url":"https://api.github.com/repos/webpack-contrib/webpack-command/issues/22","repository_url":"https://api.github.com/repos/webpack-contrib/webpack-command","labels_url":"https://api.github.com/repos/webpack-contrib/webpack-command/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/webpack-contrib/webpack-command/issues/22/comments","events_url":"https://api.github.com/repos/webpack-contrib/webpack-command/issues/22/events","html_url":"https://github.com/webpack-contrib/webpack-command/issues/22","id":325829476,"number":22,"title":"Not respecting 'stats' configuration","user":{"login":"craigjennings11","id":1683368,"avatar_url":"https://avatars2.githubusercontent.com/u/1683368?v=4","gravatar_id":"","url":"https://api.github.com/users/craigjennings11","html_url":"https://github.com/craigjennings11","followers_url":"https://api.github.com/users/craigjennings11/followers","following_url":"https://api.github.com/users/craigjennings11/following{/other_user}","gists_url":"https://api.github.com/users/craigjennings11/gists{/gist_id}","starred_url":"https://api.github.com/users/craigjennings11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigjennings11/subscriptions","organizations_url":"https://api.github.com/users/craigjennings11/orgs","repos_url":"https://api.github.com/users/craigjennings11/repos","events_url":"https://api.github.com/users/craigjennings11/events{/privacy}","received_events_url":"https://api.github.com/users/craigjennings11/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-23T18:48:12Z","updated_at":"2018-05-23T18:48:12Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n  Issues are so 🔥\r\n\r\n  If you remove or skip this template, you'll make the 🐼 sad and @ken_wheeler\r\n  will appear and pile-drive the close button from a great height while making\r\n  animal noises.\r\n\r\n  👉🏽 Need support, advice, or help? Don't open an issue.\r\n  Head to StackOverflow or https://gitter.im/webpack/webpack.\r\n-->\r\n\r\n* Operating System: Windows 10 x64\r\n* Node Version: 8.11.1\r\n* Yarn Version: 1.6.0\r\n* webpack Version: 4.8.3\r\n* webpack-command Version: 0.2.0\r\n\r\n<!-- Please place an x (no spaces!) in all [ ] that apply -->\r\n\r\nThis issue is for a:\r\n\r\n- [x] **bug**\r\n- [ ] **feature** request\r\n- [ ] **modification** request\r\n\r\n### Code\r\n\r\n##### CLI Command\r\n\r\n```console\r\n  $ webpack --mode development\r\n```\r\n\r\n##### webpack.config.js\r\n\r\n```js\r\nmodule.exports = {\r\n  // ...\r\n  stats: {\r\n    modules: false,\r\n  },\r\n};\r\n```\r\n\r\n### Expected Behavior\r\nMatching (somewhat) to what `webpack-cli` outputs, namely that the modules would not be printed out.\r\n\r\n(using `webpack-cli`)\r\n```console\r\n$ webpack --mode development\r\nHash: 023831cded95754adc9d\r\nVersion: webpack 4.8.3\r\nTime: 2876ms\r\nBuilt at: 2018-05-23 13:42:59\r\n     Asset       Size  Chunks             Chunk Names\r\n  main.css    140 KiB    main  [emitted]  main\r\n   main.js   1.75 MiB    main  [emitted]  main\r\nindex.html  485 bytes          [emitted]\r\nEntrypoint main = main.css main.js\r\nDone in 4.06s.\r\n```\r\n\r\n### Actual Behavior\r\nModules are still outputted\r\n\r\n(using `webpack-command`)\r\n```console\r\n$ webpack --mode development\r\ni ｢webpack｣: Starting Build\r\ni ｢webpack｣: Build Finished\r\n\r\nwebpack v4.8.3\r\n\r\n023831cded95754adc9d\r\n  size     name                   module                                               status\r\n  509 B    global.js              (webpack)/buildin/global.js                          built\r\n  563 B    app.js                 ./public/js/app.js                                   built\r\n  ... (list of 13 other modules imported)...\r\n\r\n  size     name                   asset                                                status\r\n  144 kB   main                   main.css                                             emitted\r\n  1.83 MB  main                   main.js                                              emitted\r\n  485 B    html                   index.html                                           emitted\r\n\r\n  Δt 2827ms (142 modules hidden)\r\n\r\nDone in 4.15s.\r\n```\r\n### How Do We Reproduce?\r\n\r\nCreate a `webpack.config.js` that specifies a `stats` configuration. Notice that it is not respected.\r\n\r\n"}}
{"actor":{"display_login":"craigjennings11"}}