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.js size #1268 #2667
Conversation
Minifying the bundle breaks the app. |
@IhsenBouallegue good catch! We could deactivate renaming the variables as a first step and later on implement the suggestion from stackoverflow. |
I agree!
From what I tested on version 1.90.0, we have a 60% decrease in size of bundle.js and about 20% decrease in overall build size. Which is well worth it 💯 |
…nto fix/1268/reduce-bundlejs-size
[CodeCharta Analysis] Kudos, SonarCloud Quality Gate passed! |
[CodeCharta Visualization] Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice improvement! 🚀
On my machine, the median loading time of bundle.js is roughly at 185ms (before the median was 400ms).
The transmitted bytes (over network) for bundle.js is now 1.3MB (before it was 2.9MB) which is an improvement of 123%!
Reduce bundle.js size
Close: #1268
Description
Descriptive pull request text, answering:
Size of bundle.js and bundle.js.map:
Before minimizing js:
After minimizing js:
Size of bundle.js:
Before minimizing js:
After minimizing js: