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

[5.x] Remove Lodash #1246

Merged
merged 1 commit into from
Feb 10, 2023
Merged

[5.x] Remove Lodash #1246

merged 1 commit into from
Feb 10, 2023

Conversation

jessarcher
Copy link
Member

The original intention of this PR was to change the Lodash imports to just pull in the functions we're actually using in order to avoid importing the unused function causing #1245 and to reduce the bundle size.

It then became apparent that we didn't actually need Lodash in most places, so I removed it altogether. This shaved 70KB from the minified bundle.

@jessarcher jessarcher changed the title Remove Lodash [5.x] Remove Lodash Feb 10, 2023
@jessarcher jessarcher linked an issue Feb 10, 2023 that may be closed by this pull request
@taylorotwell taylorotwell merged commit 328c894 into 5.x Feb 10, 2023
@taylorotwell taylorotwell deleted the remove-lodash branch February 10, 2023 02:47
@browner12
Copy link
Contributor

thanks for taking care of this! we were happy to see the bundle savings in our projects, as well.

want to handle it for Telescope too?

https://github.com/laravel/telescope/blob/4.x/package.json

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.

Lodash library special characters are breaking horizon dashboard
3 participants