-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate a module instead of using globals. #15
Comments
I don't believe this is valid syntax. |
As feature state is entirely static, and it is more configuration related, encoding it as a meta tag and using ember-cli/ember-cli#5233 to insert it as a module seems the best bet. |
@stefanpenner responding in order:
|
I suspect it does.
ideally by just inserting the given module into the loader an alternative way (arg to the boot process maybe?) |
@nathanhammond can do, but I have very little knowledge of Ember's boot process (& FastBoot in general). That said, I have to learn more about it at some point, so I'll definitely keep myself in the loop. |
I'd like to move away from inserting feature state as a global inside of
app-prefix
to make it easier to move to a modules-only world. See: ember-cli/ember-cli#5240As a result I would want to modify ember-cli-defeatureify to generate a module which could be included into any ember app's module that needs defeatureifying:
The change for any existing users of this addon would be the above mechanical change. Would you accept a PR for this functionality?
The text was updated successfully, but these errors were encountered: