Our JavaScript for the components is 1.5mb. Considering we don't even have a framework™️ it's a lot.
dist/index-Dv1Vd9fA.js 1,499.01 kB │ gzip: 357.64 kB
However most of it is the dependency on ol (for the map) as far as I know.
The site is definitely not slow even with the big bundle. It's cached. But we could still try to 1) reduce the size 2) split the big dependencies into other bundles? Like only load ol once the r4-map component is connected. But don't know how that would work.
Our JavaScript for the components is 1.5mb. Considering we don't even have a framework™️ it's a lot.
However most of it is the dependency on
ol(for the map) as far as I know.The site is definitely not slow even with the big bundle. It's cached. But we could still try to 1) reduce the size 2) split the big dependencies into other bundles? Like only load
olonce the r4-map component is connected. But don't know how that would work.