CSUA / csua-backend

A backend for the CSUA interblags.
MIT License
21 stars 19 forks source link

Only import used fontawesome icons: 1.1 MB -> 43 KB #148

Closed robertquitt closed 2 years ago

robertquitt commented 3 years ago

This was bothering me for a long time. Loading the fontawesome file took 1.1 MB, which is huge considering we are only using a few icons. Now we directly import the icons we use and create a js bundle.

robertquitt commented 2 years ago

Wow Robert this code is so cool! Ship it :DDDDDD