Skip to content

Bundle size improvements

Lukas Möller requested to merge lodash-es-async-hl into master

This should reduce the first-load gzip bundle-size by around 300 kB. The async version of the highlighter loads the language dynamically when first needed, which I think is preferable in our case.

Furthermore I was using lodash without its babel plugin. The main package isn't yet an es-module, thus tree-shaking was disabled for it, resulting in dead code being included in the bundle.

Merge request reports

Loading