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

feat: specify babel runtime version #4959

Merged
merged 1 commit into from Jan 6, 2020

Conversation

zyy7259
Copy link
Contributor

@zyy7259 zyy7259 commented Dec 13, 2019

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Docs
  • Underlying tools
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

Other information:

@babel/plugin-transform-runtime has an option named version.

By default @babel/plugin-transform-runtime assumes that @babel/runtime@7.0.0-beta.0 is installed, which means helpers introduced later than 7.0.0-beta.0 will be inlined instead of imported. Which in turn leads to a larger bundle size.

See babel/babel#10261 and facebook/docusaurus#2111

@pksunkara
Copy link
Contributor

@sodatea Is there anything blocking from merging this? I see that you approved but haven't merged.

@zyy7259 zyy7259 force-pushed the specify-babel-runtime-version branch from 14391e7 to dad226b Compare January 6, 2020 03:06
@sodatea
Copy link
Member

sodatea commented Jan 6, 2020

I was thinking about the development workflow at that time…
So I just marked some PRs as ready to merge and keep the codebase untouched.

Never mind.
I didn't change anything after all.
It's OK to merge it anytime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants