Since updating to ember@2.2.0, const config = this.container.lookupFactory('config:environment');
no longer works.
I can't use import ENV from 'your-application-name/config/environment';
because I don't actually know what the application-name is as I am using this in an addon and also some blueprints.
What is the alternative?
Aucun commentaire:
Enregistrer un commentaire