Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Optimize lodash loading for production build. #46

Merged
merged 1 commit into from
Dec 11, 2017

Conversation

fudanchii
Copy link
Contributor

Hi,

Some small changes to optimize production build, we're able to decrease our bundle size by ~20% with this change.

thank you!

No need to load the entire lodash library.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 1864125 on Caryta:modular-lodash into 71490a0 on Availity:master.

@robmcguinness
Copy link
Contributor

this seems reasonable. @TheSharpieOne ?

@TheSharpieOne TheSharpieOne merged commit e3f6014 into Availity:master Dec 11, 2017
@TheSharpieOne
Copy link
Collaborator

Because the current state of treeshaking sucks...

@fudanchii fudanchii deleted the modular-lodash branch December 13, 2017 00:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants