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

Add babel-plugin-lodash for smaller bundles #228

Merged
merged 1 commit into from
Apr 30, 2016

Conversation

levithomason
Copy link
Member

@levithomason levithomason commented Apr 29, 2016

Instead of importing the entire lodash lib (>300 funcs) babel-plugin-lodash transforms our imports to only include the functions we actually use.

@@ -3,5 +3,8 @@
"es2015",
"react",
"stage-1"
],
"plugins": [
"lodash"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the babel plugin.

@levithomason levithomason merged commit 220fe04 into master Apr 30, 2016
@levithomason levithomason deleted the feature/lodash-babel-plugin branch April 30, 2016 00:25
@levithomason levithomason mentioned this pull request May 27, 2016
24 tasks
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.

1 participant