-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Update broccoli-babel-transpiler
to v8.0.0-beta.1
#460
Update broccoli-babel-transpiler
to v8.0.0-beta.1
#460
Conversation
08cd6f8
to
b0e0d87
Compare
Is it expected that this releases in a beta version as well? |
Not 100% sure, but I would think so yes. |
Sounds good to me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple of minor points here, but overall this LGTM
index.js
Outdated
@@ -91,7 +92,7 @@ module.exports = { | |||
return options; | |||
} else { | |||
// legacy codepath | |||
return Object.assign({}, this._buildBroccoliBabelTranspilerOptions(config), options); | |||
return merge({}, this._buildBroccoliBabelTranspilerOptions(config), { babel: options }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we just do spread here (instead of pulling lodash.merge
)
index.js
Outdated
@@ -148,7 +148,7 @@ module.exports = { | |||
let config = _config || this._getAddonOptions(); | |||
let description = `000${++count}`.slice(-3); | |||
let postDebugTree = this._debugTree(inputTree, `${description}:input`); | |||
let options = Object.assign({}, this._buildBroccoliBabelTranspilerOptions(config), this.buildBabelOptions('babel', config)); | |||
let options = merge({}, this._buildBroccoliBabelTranspilerOptions(config), { babel: this.buildBabelOptions('babel', config) }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, I'd like to avoid merge
b0e0d87
to
1460db8
Compare
No description provided.