Skip to content

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

Merged
rwjblue merged 3 commits intoemberjs:masterfrom
bertdeblock:update-broccoli-babel-transpiler
Oct 28, 2022
Merged

Update broccoli-babel-transpiler to v8.0.0-beta.1#460
rwjblue merged 3 commits intoemberjs:masterfrom
bertdeblock:update-broccoli-babel-transpiler

Conversation

@bertdeblock
Copy link
Copy Markdown
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
Copy Markdown
Member

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

@bertdeblock
Copy link
Copy Markdown
Member Author

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

@kellyselden
Copy link
Copy Markdown
Member

Sounds good to me.

Copy link
Copy Markdown
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
} else {
// legacy codepath
return Object.assign({}, this._buildBroccoliBabelTranspilerOptions(config), options);
return merge({}, this._buildBroccoliBabelTranspilerOptions(config), { babel: options });
Copy link
Copy Markdown
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
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
Copy Markdown
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