nprapps / elections18-graphics

2018 midterm election front-end; iteration upon 2016 GE work
MIT License
5 stars 1 forks source link

Update CSS minifier #106

Open alykat opened 6 years ago

alykat commented 6 years ago

I get this warning on deploy:

The compress option has been deprecated. We recommend you use a dedicated css minifier, for instance see less-plugin-clean-css.

If we fix this, worth also rolling it into dailygraphics. (https://github.com/nprapps/dailygraphics/issues/280)

mileswwatkins commented 6 years ago

Burn it to the grouuuuunnnnnddddd. I've been thinking about this, and I believe that CSS minification is easily possible in our Webpack/Babel stack. Certainly should not be done in Python these days; JS-based tooling is so much more developed. IIRC the latest version of cssmin was 2013?