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

Reduce bundle size #1091

Merged
merged 1 commit into from
Nov 1, 2021
Merged

Reduce bundle size #1091

merged 1 commit into from
Nov 1, 2021

Conversation

sebdesign
Copy link
Contributor

This PR reduces the bundle size by updating an outdated webpack configuration.
The webpack.IgnorePlugin has changed its syntax since it was added in 2017.

So now the bundle is reduced from 1160kb to 922kb!

See: https://webpack.js.org/plugins/ignore-plugin/#example-of-ignoring-moment-locales

I've submitted the same fix in laravel/telescope#1142

@taylorotwell taylorotwell merged commit bcadb04 into laravel:5.x Nov 1, 2021
@driesvints
Copy link
Member

Thanks @sebdesign

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