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 < 2.12 #5022

Merged
merged 1 commit into from
Jun 19, 2017

Commits on Jun 19, 2017

  1. Ensure ember-data/-private module is emitted properly for ember-cli…

    … < 2.12.
    
    ember-cli@2.12 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.
    rwjblue committed Jun 19, 2017
    Configuration menu
    Copy the full SHA
    e74bb08 View commit details
    Browse the repository at this point in the history