From 123e51f4d537b516729aef4f04dca944efdbea1b Mon Sep 17 00:00:00 2001 From: Simon Lejeune Date: Mon, 6 Jun 2016 16:30:15 +0200 Subject: [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 --- debian/control | 1 - 1 file changed, 1 deletion(-) (limited to 'debian') diff --git a/debian/control b/debian/control index 19647396245..8964e6c52c3 100644 --- a/debian/control +++ b/debian/control @@ -15,7 +15,6 @@ Depends: ${misc:Depends}, adduser, node-less, - node-clean-css, postgresql-client, python, python-dateutil, -- cgit v1.2.3