sio2project / oioioi

GNU General Public License v3.0
160 stars 70 forks source link

Reduce CSS bundle #335

Closed fmkra closed 3 months ago

fmkra commented 4 months ago

The main cause of CSS bundle being so big is that scss/style is imported several times in different files and isn't deduplicated by django. Fixed by replacing that import with one that includes only specific, necessary file. This reduced CSS bundle from around 1MB to 350kB.

twalen commented 3 months ago

Is this PR ready for a review?