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

Remove Lodash webpack plugin. #6

Merged
merged 1 commit into from
Apr 25, 2017
Merged

Remove Lodash webpack plugin. #6

merged 1 commit into from
Apr 25, 2017

Conversation

DFurnes
Copy link
Contributor

@DFurnes DFurnes commented Apr 25, 2017

Changes

This fixes an issue where _.get was unexpectedly returning undefined because of the paths optimization in LodashWebpackPlugin. It turns out this optimizes a bit more aggressively than I thought when I added it – it will remove support for all the features in this list unless you specifically opt in, which is a bit too much cognitive overhead I think.

Plus, most of our space savings came from adding babel-plugin-lodash to our Babel config (which optimizes our imports), so enabling this only adds ~10kb to the final builds.

@DFurnes DFurnes force-pushed the remove-webpack-plugin branch from d172d21 to ee301cf Compare April 25, 2017 20:13
@DFurnes DFurnes merged commit 01f87b2 into master Apr 25, 2017
@DFurnes DFurnes deleted the remove-webpack-plugin branch April 25, 2017 20:37
@DFurnes
Copy link
Contributor Author

DFurnes commented Apr 25, 2017

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

Successfully merging this pull request may close these issues.

2 participants