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

Improve preparation of app bundle, revise dependencies #1602

Open
grzanka opened this issue Apr 21, 2024 · 2 comments
Open

Improve preparation of app bundle, revise dependencies #1602

grzanka opened this issue Apr 21, 2024 · 2 comments
Assignees

Comments

@grzanka
Copy link
Contributor

grzanka commented Apr 21, 2024

We have several issues with deployment process:

  • JS bundle produced with web pack is pretty large (~20 MB) now which leads to very long app loading time (~15 sec)
  • process of creating the bundle is quite long (few minutes)

There are several ongoing issues to address that:

This probably won't solve the problem completely. From my studies on #1598 (comment) it seems that the heaviest component in the bundle is related to babel. @ostatni5 mentioned in the PM that babel should be moved from production deps to development dep.

Here I would like to discuss how to revise the dependencies in the project. Maybe first we should sort out what is needed and what is not. Maybe that itself should solve of the issue and make easier the transition to other building platform (like vite)

@grzanka
Copy link
Contributor Author

grzanka commented Oct 2, 2024

@NiEkOKsU please write down in a comment a review of the deps added in PR related to vite

@ostatni5
Copy link
Member

ostatni5 commented Oct 3, 2024

If dependencies cannot be reduced another solution would be to split the bundle into smaller chunks for views/features and load them dynamically.

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

No branches or pull requests

3 participants