# Minify CSS during build

**URL:** <https://talk.jekyllrb.com/t/minify-css-during-build/154>\
**Category:** Help\
**Created:** [February 17, 2017, 6:45pm UTC](https://talk.jekyllrb.com/t/minify-css-during-build/154 "2017-02-17T18:45:07Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![tomjohnson1492](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/tomjohnson1492/32/39_2.png) [@tomjohnson1492](https://talk.jekyllrb.com/u/tomjohnson1492)\
**Post date:** [February 19, 2017, 9:26pm UTC](https://talk.jekyllrb.com/t/minify-css-during-build/154/5 "2017-02-19T21:26:54Z")

</div>

Even if your theme doesn’t use Sass, you could just rename your .css file to .scss and add that compressed property that @mmistakes mentioned. You don’t have to actually use any Sass techniques in your CSS.

When your site builds, Jekyll will minify the CSS. It’s a great approach. In my opinion, Jekyll’s docs on Sass could be improved a bit, but the info is there. [https://jekyllrb.com/docs/assets/](https://jekyllrb.com/docs/assets/).

---

_[View the full topic](https://talk.jekyllrb.com/t/minify-css-during-build/154)._
