{"action":"closed","issue":{"url":"https://api.github.com/repos/brunch/brunch/issues/1699","repository_url":"https://api.github.com/repos/brunch/brunch","labels_url":"https://api.github.com/repos/brunch/brunch/issues/1699/labels{/name}","comments_url":"https://api.github.com/repos/brunch/brunch/issues/1699/comments","events_url":"https://api.github.com/repos/brunch/brunch/issues/1699/events","html_url":"https://github.com/brunch/brunch/issues/1699","id":224124831,"number":1699,"title":"Disable plugin in '--production' mode","user":{"login":"phtrivier","id":18883,"avatar_url":"https://avatars1.githubusercontent.com/u/18883?v=3","gravatar_id":"","url":"https://api.github.com/users/phtrivier","html_url":"https://github.com/phtrivier","followers_url":"https://api.github.com/users/phtrivier/followers","following_url":"https://api.github.com/users/phtrivier/following{/other_user}","gists_url":"https://api.github.com/users/phtrivier/gists{/gist_id}","starred_url":"https://api.github.com/users/phtrivier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phtrivier/subscriptions","organizations_url":"https://api.github.com/users/phtrivier/orgs","repos_url":"https://api.github.com/users/phtrivier/repos","events_url":"https://api.github.com/users/phtrivier/events{/privacy}","received_events_url":"https://api.github.com/users/phtrivier/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-04-25T12:44:18Z","updated_at":"2017-06-13T19:30:54Z","closed_at":"2017-06-13T19:30:54Z","body":"Is there a way to disable a brunch plugin when running 'brunch build --production' ?\r\n\r\nIn my particular case (the 'brunch-flow' plugin), using 'overrides' does not work : \r\n\r\n```\r\n  overrides: {\r\n    production: {\r\n      plugins: {\r\n        flowtype: {\r\n          enabled: false\r\n        }\r\n      }\r\n    }\r\n  }\r\n```\r\n\r\nI assume the 'enabled' option is plugin-specific, so unless the plugin implements it, this method should not work, right ?\r\nIs there a more general way ?\r\n"}}
{"actor":{"display_login":"shvaikalesh"}}