Skip to content

Reduces bundle size by 37%

Mark Harding requested to merge chore/reduce-bundle-size into master

Lazy loads analytics (+plotly) and admin to reduce to main bundle size by 37%. We are also now combing the vendor and main.js bundles to reduce network congestion. The new combined size is approximately the same as the vendor size perviously was.

Production bundles (gzip)

name size
vendor.js 948Kb
main.js 575Kb
1,523Kb

MR bundles (gzip)

name size
main.js 959Kb

Screenshot_2020-02-16_at_15.54.45

Edited by Mark Harding

Merge request reports

Loading