{"action":"opened","issue":{"url":"https://api.github.com/repos/webpack/webpack-cli/issues/624","repository_url":"https://api.github.com/repos/webpack/webpack-cli","labels_url":"https://api.github.com/repos/webpack/webpack-cli/issues/624/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack-cli/issues/624/comments","events_url":"https://api.github.com/repos/webpack/webpack-cli/issues/624/events","html_url":"https://github.com/webpack/webpack-cli/issues/624","id":365518320,"node_id":"MDU6SXNzdWUzNjU1MTgzMjA=","number":624,"title":"Deprecate --optimize-minimize in favour of --mode production","user":{"login":"edmorley","id":501702,"node_id":"MDQ6VXNlcjUwMTcwMg==","avatar_url":"https://avatars3.githubusercontent.com/u/501702?v=4","gravatar_id":"","url":"https://api.github.com/users/edmorley","html_url":"https://github.com/edmorley","followers_url":"https://api.github.com/users/edmorley/followers","following_url":"https://api.github.com/users/edmorley/following{/other_user}","gists_url":"https://api.github.com/users/edmorley/gists{/gist_id}","starred_url":"https://api.github.com/users/edmorley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edmorley/subscriptions","organizations_url":"https://api.github.com/users/edmorley/orgs","repos_url":"https://api.github.com/users/edmorley/repos","events_url":"https://api.github.com/users/edmorley/events{/privacy}","received_events_url":"https://api.github.com/users/edmorley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-01T15:32:24Z","updated_at":"2018-10-01T15:32:24Z","closed_at":null,"author_association":"NONE","body":"**Is your feature request related to a problem? Please describe.**\r\nI've seen end users continue to use `--optimize-minimize` with webpack 4, since they weren't aware of the newer/superior `--mode production`, and then get confused why they are seeing \"`mode` is not set\" warnings.\r\n\r\n**Describe the solution you'd like**\r\nStart by showing a deprecation warning for `--optimize-minimize`, then at some point later remove it entirely.\r\n\r\n**Describe alternatives you've considered**\r\nNot showing a deprecation warning.\r\n\r\n**Additional context**\r\nExample accidental `--optimize-minimize` use:\r\nhttps://github.com/mozilla-frontend-infra/firefox-health-dashboard/pull/158#issuecomment-425938987\r\n"}}
{"actor":{"display_login":"edmorley"}}