Skip to content
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

Refactoring for compatibility with newer ember-cli #90

Merged
merged 4 commits into from
Aug 6, 2018
Merged

Conversation

ef4
Copy link
Collaborator

@ef4 ef4 commented Aug 6, 2018

ember-cli as of 3.4-beta has introduced changes that make it impossible for us to nicely emit the built dependencies via our own vendor and public trees, because it now considers those as inputs to the trees that we analyze, causing a circle.

This is, IMO, an architectural mistake in ember-cli, because there is no real data dependency circle. Rather, the true data-dependency graph is being lost due to the way all trees are being combined and then re-separated to create the packager hook.

So anyway, now we must monkey patch EmberApp instead. It's pretty non-invasive and the function we are patching has been stable for a long long time.

Closes #26.

@ef4 ef4 merged commit ec44583 into master Aug 6, 2018
@ef4 ef4 deleted the cli-compat branch August 6, 2018 09:13
ef4 added a commit that referenced this pull request Aug 15, 2018
#90 introduced a bug that causes some rebuilds to not take effect.

The solution is not pretty, but it's what we need to do now to work around the weird data flow in latest ember-cli.

Fixes #99.
@ef4 ef4 mentioned this pull request Aug 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant