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

Spliting for web #211

Merged
merged 18 commits into from
Nov 18, 2023
Merged

Spliting for web #211

merged 18 commits into from
Nov 18, 2023

Conversation

maximeroucher
Copy link
Member

@maximeroucher maximeroucher commented Nov 17, 2023

Using deferred loading in middleware to split main_dart.js in multiple files to make it faster to load

image

@maximeroucher maximeroucher added ready for review This PR is ready to be reviewed web labels Nov 17, 2023
@maximeroucher maximeroucher linked an issue Nov 17, 2023 that may be closed by this pull request
@Petitoto
Copy link
Member

Partially solves #119
Big improvement: main.dart.js size is now "only" 3,2 Mo (vs more than 5 Mo before)
We could still improve the splitting by splitting more classes, and by removing useless strings in main.dart.js

@maximeroucher maximeroucher merged commit 8819bbc into main Nov 18, 2023
@armanddidierjean armanddidierjean deleted the spliting-for-web branch November 19, 2023 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review This PR is ready to be reviewed web
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Split main.dart.js
3 participants