meenie / munee

Munee: Standalone PHP 5.3 Asset Optimisation & Manipulation
https://munee.herokuapp.com/
MIT License
833 stars 92 forks source link

Minify CSS generated by SCSS #30

Closed imuslim closed 11 years ago

imuslim commented 11 years ago

Hi! I like this library very much and using it in my project. One question - how can I minify css files generated by scss or less?

Best regards Zelim M.H.

meenie commented 11 years ago

Hi @imuslim,

Yup, all you have to do is add minify=true as a query string to the url. For example:

<link href="/path/to/styles.less?minify=true" media="all" rel="stylesheet">

Let me know if you have any other questions or a follow up to this :).

Cheers, cody