[REF] ir_qweb: less webasset: compress output instead of minifying it

* Remove dependency on less-plugin-clean-css which distribution
  packages are broken on debian stretch and derivated.
* Updated documentation.
* Lessc provides a `--compress` argument that could solve this issue.
  According to the documentation at http://lesscss.org/usage/: "[...]
  Compress using less built-in compression. This does an okay job but
  does not utilise all the tricks of dedicated css compression[...]"
  However, using this argument works on lessc 2.5.3 but not on 1.4.2
  (`--compress` arg is present but seems to be break some rules
  i haven't been able to put my finger on).
* Finally, use the minification of the StylesheetAsset that takes care
  of removing the spaces, the comments and the sourcemap with regexes.

fixes issue #9113
This commit is contained in:
Simon Lejeune
2016-06-10 17:22:03 +02:00
parent b466a9eea0
commit 123e51f4d5
7 changed files with 7 additions and 15 deletions
-1
View File
@@ -21,7 +21,6 @@ RUN apt-get update -qq && \
postgresql-client \
adduser \
node-less \
node-clean-css \
libxml2-dev \
libxslt1-dev \
libldap2-dev \