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

Ensure ember-data/-private module is emitted properly for ember-cli… #5195

Merged
merged 1 commit into from
Sep 29, 2017

Conversation

bmac
Copy link
Member

@bmac bmac commented Sep 29, 2017

… < 2.12.

[email protected] and higher have the addon itself responsible for transpiling
modules so that the output of the treeForAddon hook is expected to be
AMD.

Prior versions of ember-cli (i.e. < 2.12) do second pass (that is not possible
to disable) to transpile the output of treeForAddon again (to transpile
modules).

This commit changes things around leveraging ember-cli-babel@6's built in
ability to detect the various ember-cli version scenarios and either
transpile ember-data/-private down to AMD or not correctly.

(cherry picked from commit e74bb08)

… < 2.12.

[email protected] and higher have the addon itself responsible for transpiling
modules so that the output of the `treeForAddon` hook is expected to be
AMD.

Prior versions of ember-cli (i.e. < 2.12) do second pass (that is not possible
to disable) to transpile the output of `treeForAddon` **again** (to transpile
modules).

This commit changes things around leveraging ember-cli-babel@6's built in
ability to detect the various ember-cli version scenarios and either
transpile `ember-data/-private` down to AMD or not correctly.

(cherry picked from commit e74bb08)
@bmac bmac merged commit 31cdb02 into emberjs:release Sep 29, 2017
@bmac bmac deleted the port-5022-release branch September 29, 2017 17:07
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.

2 participants