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

Update broccoli-babel-transpiler to v8.0.0-beta.1 #460

Merged
merged 3 commits into from
Oct 28, 2022

Conversation

bertdeblock
Copy link
Member

No description provided.

@bertdeblock bertdeblock force-pushed the update-broccoli-babel-transpiler branch from 08cd6f8 to b0e0d87 Compare October 10, 2022 08:41
@bertdeblock bertdeblock requested a review from rwjblue October 10, 2022 08:55
@bertdeblock bertdeblock self-assigned this Oct 12, 2022
@kellyselden
Copy link
Member

Is it expected that this releases in a beta version as well?

@bertdeblock
Copy link
Member Author

Not 100% sure, but I would think so yes.

@kellyselden
Copy link
Member

Sounds good to me.

Copy link
Member

@rwjblue rwjblue left a 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 });
Copy link
Member

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) });
Copy link
Member

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

@bertdeblock bertdeblock force-pushed the update-broccoli-babel-transpiler branch from b0e0d87 to 1460db8 Compare October 21, 2022 17:10
@bertdeblock bertdeblock requested a review from rwjblue October 21, 2022 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants