{"action":"created","issue":{"url":"https://api.github.com/repos/ember-cli-deploy/ember-cli-deploy-build/issues/23","labels_url":"https://api.github.com/repos/ember-cli-deploy/ember-cli-deploy-build/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/ember-cli-deploy/ember-cli-deploy-build/issues/23/comments","events_url":"https://api.github.com/repos/ember-cli-deploy/ember-cli-deploy-build/issues/23/events","html_url":"https://github.com/ember-cli-deploy/ember-cli-deploy-build/pull/23","id":118712767,"number":23,"title":"Add distDir to defaultConfig","user":{"login":"broerse","id":1432898,"avatar_url":"https://avatars.githubusercontent.com/u/1432898?v=3","gravatar_id":"","url":"https://api.github.com/users/broerse","html_url":"https://github.com/broerse","followers_url":"https://api.github.com/users/broerse/followers","following_url":"https://api.github.com/users/broerse/following{/other_user}","gists_url":"https://api.github.com/users/broerse/gists{/gist_id}","starred_url":"https://api.github.com/users/broerse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broerse/subscriptions","organizations_url":"https://api.github.com/users/broerse/orgs","repos_url":"https://api.github.com/users/broerse/repos","events_url":"https://api.github.com/users/broerse/events{/privacy}","received_events_url":"https://api.github.com/users/broerse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-24T22:02:55Z","updated_at":"2015-12-01T09:00:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ember-cli-deploy/ember-cli-deploy-build/pulls/23","html_url":"https://github.com/ember-cli-deploy/ember-cli-deploy-build/pull/23","diff_url":"https://github.com/ember-cli-deploy/ember-cli-deploy-build/pull/23.diff","patch_url":"https://github.com/ember-cli-deploy/ember-cli-deploy-build/pull/23.patch"},"body":"Make it possible to change the distDir in an other plug-in like this:\r\n\r\n```\r\n      willDeploy: function(context) {\r\n        var distDir = this.readConfig('distDir');\r\n        return {\r\n          distDir: distDir + path.sep + '_attachments'\r\n        };\r\n      },\r\n\r\n\r\n``` "},"comment":{"url":"https://api.github.com/repos/ember-cli-deploy/ember-cli-deploy-build/issues/comments/160898989","html_url":"https://github.com/ember-cli-deploy/ember-cli-deploy-build/pull/23#issuecomment-160898989","issue_url":"https://api.github.com/repos/ember-cli-deploy/ember-cli-deploy-build/issues/23","id":160898989,"user":{"login":"duizendnegen","id":665795,"avatar_url":"https://avatars.githubusercontent.com/u/665795?v=3","gravatar_id":"","url":"https://api.github.com/users/duizendnegen","html_url":"https://github.com/duizendnegen","followers_url":"https://api.github.com/users/duizendnegen/followers","following_url":"https://api.github.com/users/duizendnegen/following{/other_user}","gists_url":"https://api.github.com/users/duizendnegen/gists{/gist_id}","starred_url":"https://api.github.com/users/duizendnegen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duizendnegen/subscriptions","organizations_url":"https://api.github.com/users/duizendnegen/orgs","repos_url":"https://api.github.com/users/duizendnegen/repos","events_url":"https://api.github.com/users/duizendnegen/events{/privacy}","received_events_url":"https://api.github.com/users/duizendnegen/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T09:00:08Z","updated_at":"2015-12-01T09:00:08Z","body":"I'm also uncomfortable with both outputPath and distDir - generically I'm uncomfortable with rewriting/overwriting the context object (but on the other hand, this also seems to be a strength of ECD)\r\nI'm not seeing what other `if` would solve this, but reducing information redundancy is almost always a good thing."}}