Skip to content

Commit

Permalink
Prevent clobbering custom this.options.babel
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
rwjblue committed Apr 21, 2017
1 parent 8fd835e commit 9f9106e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions index.js
Expand Up @@ -156,8 +156,6 @@ module.exports = {
var target = (parentAddon || app);
this._super.included.call(this, target);

this.options = target.options || {};

if (app.tests) {
var fileAssets = [
'vendor/mocha/mocha.js',
Expand Down

0 comments on commit 9f9106e

Please sign in to comment.