alexcorvi / apexo

A web/desktop application to manage your dental clinic practice.
https://apexo.app
MIT License
85 stars 46 forks source link

Code splitting #69

Closed alexcorvi closed 5 years ago

alexcorvi commented 5 years ago

As the application grows the bundle is getting larger and larger, it might be best if I did some code splitting.

alexcorvi commented 5 years ago

Huge refactoring was done for this to be done.

Code splitting is now being done on:

bonus: removed moment.js dependency completely.

Before this, bundle size (not minified/unzipped) was 3.95 MB and it's now 2.6 MB, it was 2.19 MB (minified) and now 1.05 MB, this should cut initial load time in half!

alexcorvi commented 5 years ago

This commit will be released in 4.0, can't wait!

alexcorvi commented 5 years ago

further code splitting: 575 KiB minified