I'm creating an Ember CLI ember-addon
, and in my addon's files I need access to the app's config. I have no way of knowing what the app including this addon will be named, so I can't simply do import ENV from 'app-name/config/environment'
like I might in the application itself.
How can I access the namespace of the application that is using the ember-addon
from within the addon itself, so that I can import things from that application?