Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Prevent clobbering custom this.options.babel #190

Merged
merged 1 commit into from
Apr 21, 2017
Merged

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Apr 21, 2017

Setting this.options inside of included to the options from lib/broccoli/ember-app means that we will attempt to transpile with the options.babel that the host app / addon is using. Which, as of, 2.13+ that will be babel@6 and therefore incompatible options with ember-cli-babel@5 (which this addon uses).

Resolves #182

Setting `this.options` inside of `included` to the options from
`lib/broccoli/ember-app` means that we will attempt to transpile
with the `options.babel` that the host app / addon is using.
Which, as of, 2.13+ that will be babel@6 and therefore incompatible
options with ember-cli-babel@5 (which this addon uses).
Copy link
Member

@Turbo87 Turbo87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice work @rwjblue! verified that this indeed fixes the issue.

@Turbo87
Copy link
Member

Turbo87 commented Apr 21, 2017

Travis agrees, merging! :)

@Turbo87 Turbo87 merged commit 2a2bc51 into master Apr 21, 2017
@Turbo87 Turbo87 deleted the rwjblue-patch-1 branch April 21, 2017 22:01
@Turbo87 Turbo87 added the bug label Apr 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants