I had to bring the allow bundled size up a bit for my last PR, this improves bundling size drastically and lowers the limit.
Old initial bundle size was 1.65mb, new one is 1.01mb.
Below are the old bundles, then new:
txml was bundling some node code so I replaced it with fast-xml-parser.
lodash-es is now completely gone, our only remaining Lodash usage is in test utils, where _.get is genuinely useful, so we can close https://github.com/momentum-mod/website/issues/747.
@Gocnak you care about this stuff so should check it out - very easy review.
I had to bring the allow bundled size up a bit for my last PR, this improves bundling size drastically and lowers the limit.
Old initial bundle size was 1.65mb, new one is 1.01mb.
Below are the old bundles, then new:
![image](https://github.com/momentum-mod/website/assets/35813309/d2a9b9f3-6b78-434d-b600-54be5b9c24a5)
txml
was bundling some node code so I replaced it withfast-xml-parser
.lodash-es
is now completely gone, our only remaining Lodash usage is in test utils, where_.get
is genuinely useful, so we can close https://github.com/momentum-mod/website/issues/747.@Gocnak you care about this stuff so should check it out - very easy review.