DEV Community

Discussion on: Ways to Reduce your Front-End Codes

Collapse
 
diballesteros profile image
Diego (Relatable Code)

As you're mentioning Tailwind its probably almost import to mention their official documentation. tailwindcss.com/docs/optimizing-fo... mentions cssnano or Brotli to further optimize the size of the code sent to the client.

However this all depends on the build steps you already have for prod.

Collapse
 
zhcalvin profile image
Jiawei Li

Thanks for mentioning cssnano and Brotli. They are now mentioned inside the doc above.