{"action":"created","issue":{"url":"https://api.github.com/repos/js-dxtools/webpack-validator/issues/71","repository_url":"https://api.github.com/repos/js-dxtools/webpack-validator","labels_url":"https://api.github.com/repos/js-dxtools/webpack-validator/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/js-dxtools/webpack-validator/issues/71/comments","events_url":"https://api.github.com/repos/js-dxtools/webpack-validator/issues/71/events","html_url":"https://github.com/js-dxtools/webpack-validator/issues/71","id":152621775,"number":71,"title":"Strict mode - Detect duplicate UglifyPlugin","user":{"login":"bebraw","id":166921,"avatar_url":"https://avatars.githubusercontent.com/u/166921?v=3","gravatar_id":"","url":"https://api.github.com/users/bebraw","html_url":"https://github.com/bebraw","followers_url":"https://api.github.com/users/bebraw/followers","following_url":"https://api.github.com/users/bebraw/following{/other_user}","gists_url":"https://api.github.com/users/bebraw/gists{/gist_id}","starred_url":"https://api.github.com/users/bebraw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bebraw/subscriptions","organizations_url":"https://api.github.com/users/bebraw/orgs","repos_url":"https://api.github.com/users/bebraw/repos","events_url":"https://api.github.com/users/bebraw/events{/privacy}","received_events_url":"https://api.github.com/users/bebraw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/js-dxtools/webpack-validator/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/js-dxtools/webpack-validator/labels/help%20wanted","name":"help wanted","color":"128A0C"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-05-02T19:09:47Z","updated_at":"2016-05-10T15:41:41Z","closed_at":null,"body":"Just saw a case where a user was using `-p` and `UglifyPlugin` separately. Latter was used to set `compress['drop_console']`. The problem is that this will lead to double minification and it won't work as you might expect.\r\n\r\nIt would be good to be able to detect this case. Perhaps the same applies to some other plugins as well, but this would be a nice starting point."},"comment":{"url":"https://api.github.com/repos/js-dxtools/webpack-validator/issues/comments/218198250","html_url":"https://github.com/js-dxtools/webpack-validator/issues/71#issuecomment-218198250","issue_url":"https://api.github.com/repos/js-dxtools/webpack-validator/issues/71","id":218198250,"user":{"login":"kentcdodds","id":1500684,"avatar_url":"https://avatars.githubusercontent.com/u/1500684?v=3","gravatar_id":"","url":"https://api.github.com/users/kentcdodds","html_url":"https://github.com/kentcdodds","followers_url":"https://api.github.com/users/kentcdodds/followers","following_url":"https://api.github.com/users/kentcdodds/following{/other_user}","gists_url":"https://api.github.com/users/kentcdodds/gists{/gist_id}","starred_url":"https://api.github.com/users/kentcdodds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentcdodds/subscriptions","organizations_url":"https://api.github.com/users/kentcdodds/orgs","repos_url":"https://api.github.com/users/kentcdodds/repos","events_url":"https://api.github.com/users/kentcdodds/events{/privacy}","received_events_url":"https://api.github.com/users/kentcdodds/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T15:41:41Z","updated_at":"2016-05-10T15:41:41Z","body":"Good point. Something's better than nothing though. But if we can handle it for both cases that's be great.\r\n\r\nHonestly, this seems like something Webpack should warn about by itself..."}}