Starting from upgrade to ember@2.2.0
const config = this.container.lookupFactory('config:environment');`
does not work any more. I can not use:
import ENV from 'your-application-name/config/environment';
because I really don’t know what the name of the application is, how I use it in the addon, as well as some drawings.
Which alternative?
source
share