stefanpenner/ember-cli — pull request #1914 by chrmod (2014-09-06 20:04:57+00:00)
Title: Introducing `config` hook for addons

Implements: #1907

A new `config` hook is available for addons. It can be used to alternate application configuration (example: toggling FEATURE flags for Ember) or to read the current config and change addon behaviour (example: importing dependencies conditionally).

Interface:
```
// environment - 'development', 'test', 'production'
// currentConfig - hash with config for given environment
config: function(environment, currentConfig) {}
```