Skip to content

fix(package): add babel-runtime for commonjs builds #1306

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

Merged
merged 1 commit into from
Feb 11, 2017

Conversation

levithomason
Copy link
Member

@levithomason levithomason commented Feb 11, 2017

Fixes #1260

This PR adds babel-runtime as a package dep.

I've opted for a regular dependency over a peer dependency here as I don't want users to have to install more modules to get up and running. Also, our package only requires the necessary modules from runtime, so it is cherry picked, similar to how we handle lodash.

@codecov-io
Copy link

codecov-io commented Feb 11, 2017

Codecov Report

Merging #1306 into master will not change coverage.

@@           Coverage Diff           @@
##           master    #1306   +/-   ##
=======================================
  Coverage   99.74%   99.74%           
=======================================
  Files         140      140           
  Lines        2394     2394           
=======================================
  Hits         2388     2388           
  Misses          6        6

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 070178e...9bcf7f0. Read the comment docs.

@levithomason levithomason merged commit eafd970 into master Feb 11, 2017
@levithomason levithomason deleted the fix/babel-runtime-dep branch February 11, 2017 06:05
@levithomason
Copy link
Member Author

Released in [email protected].

harel pushed a commit to harel/Semantic-UI-React that referenced this pull request Feb 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants