andreyfedoseev / django-static-precompiler

Django Static Precompiler provides template tags and filters to compile CoffeeScript, LiveScript, SASS / SCSS, LESS, Stylus, Babel and Handlebars. It works with both inline code and external files.
Other
222 stars 60 forks source link

Add clean css option to less #118

Closed theRustyKnife closed 6 years ago

theRustyKnife commented 6 years ago

I wanted to minify my css output, so I quickly threw this together.

This may not be the perfect solution, but I'd appreciate it if this was added in one way or another.

codecov-io commented 6 years ago

Codecov Report

Merging #118 into master will decrease coverage by 0.05%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #118      +/-   ##
==========================================
- Coverage   88.57%   88.51%   -0.06%     
==========================================
  Files          23       23              
  Lines        1103     1106       +3     
==========================================
+ Hits          977      979       +2     
- Misses        126      127       +1
Impacted Files Coverage Δ
compilers/less.py 95.04% <0%> (-0.87%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update bf16a66...b0d97a6. Read the comment docs.

andreyfedoseev commented 6 years ago

@theRustyKnife Thank you for your contribution. Could you update the docs to include this new option for Less compiler?