alistapart / AListApart

The A List Apart front end repo
http://alistapart.com/
MIT License
671 stars 68 forks source link

Use cssnano in build? #403

Closed malchata closed 7 years ago

malchata commented 7 years ago

There's a PostCSS plugin for slimming down CSS called cssnano. It doesn't appear to be used in this repo in the gulp build process, but it could help shave a few KBs off and help things render a touch faster. If there's interest, I'd like to investigate.

zeldman commented 7 years ago

+1

cc: @michellekondou

malchata commented 7 years ago

cssnano seems to shave 2.6 KB from styles.css. Not much, but worth considering since the effort to implement was so low. There are many other stylesheets in the css folder that may benefit (unless they're already part of styles.css).