openclimatefix / website

Source of the Open Climate Fix website.
https://openclimatefix.org
MIT License
15 stars 11 forks source link

The whole of tailwind-css is downloaded on each page #79

Closed mantagen closed 3 years ago

mantagen commented 3 years ago

Describe the bug Tailwind css has an option to remove unused css. Currently this isn't in use which is resulting in html files double the size they could be.

Expected behavior On css which is in use should be compiled.

Screenshots image

E.g. this file is 62kb, but if unused css is removed it will be ~30kb

image