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

[Babel] Improve the production build #440

Merged
merged 1 commit into from
Apr 6, 2016
Merged

[Babel] Improve the production build #440

merged 1 commit into from
Apr 6, 2016

Conversation

oliviertassinari
Copy link

Add some plugins for improving the production build.

Name Build size impact Description
transform-react-constant-elements 0 kB Save some memory allocation.
transform-react-inline-elements -1 kB Improve runtime performances.
transform-react-remove-prop-types (Promoted) -2 kB Remove propTypes.

This change is Reviewable

@Bogdaan
Copy link

Bogdaan commented Feb 25, 2016

@oliviertassinari +1 must-have plugins in build process, but it is better move this to .babelrc
UPD see - https://babeljs.io/docs/usage/babelrc/

@Bogdaan Bogdaan mentioned this pull request Feb 27, 2016
@oliviertassinari
Copy link
Author

@koistya Do you want this PR? I can rebase if needed.

@oliviertassinari oliviertassinari changed the title Improve the production build [Babel] Improve the production build Apr 3, 2016
@koistya
Copy link
Member

koistya commented Apr 3, 2016

@oliviertassinari yep, looking good. I will merge. If you can rebase, that would be awesome!

@oliviertassinari
Copy link
Author

@koistya Rebased.

@koistya koistya merged commit 540db65 into kriasoft:master Apr 6, 2016
@oliviertassinari oliviertassinari deleted the production-improvement branch April 6, 2016 19:10
@oliviertassinari
Copy link
Author

@koistya Thanks 🎉.

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.

3 participants