brandonweiss / charge

⚡️ An opinionated, zero-config static site generator.
https://charge.js.org
MIT License
428 stars 19 forks source link

Minify CSS build output #782

Open delucis opened 4 years ago

delucis commented 4 years ago

Would you consider minifying the CSS output (when running charge build) using a PostCSS plugin? For example, using something like cssnano.

This seems like it would fit with the “it works the way you probably expect it to” philosophy as long as only safe minification techniques are enabled.

brandonweiss commented 4 years ago

Hey! Yeah, I think that makes sense. Charge is mostly for smaller sites so the minification doesn’t need to be super aggressive. Want to make a pull request?