Closed basz closed 2 years ago
This would be solved by https://github.com/mansona/ember-get-config/pull/45.
This should be fixed now in https://github.com/mansona/ember-get-config/releases/tag/v2.1.0 👍
hi, i've tested a bit more.
When using embroider this still happens
@basz That's because under Embroider, a compat adapter is used instead of ember-get-config
itself.
We should PR that the compat adapter is not used when embet-get-config
>= v2.1 is detected I think.
Forgot to mention, you can also disable the compat adapter in your project for now.
The adapter is now disabled in Embroider v1.8.1: https://github.com/embroider-build/embroider/releases/tag/v1.8.1
ember-cli-app-version changes the environment object; APP['version'] is set.
ember-get-config reads it before that change I think.
so in an app this works;
while this does not;
oooor,... i could be doing it wrong...