[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
Showing
- debian/control 0 additions, 1 deletiondebian/control
- doc/setup/install.rst 6 additions, 6 deletionsdoc/setup/install.rst
- openerp/addons/base/ir/ir_qweb.py 1 addition, 4 deletionsopenerp/addons/base/ir/ir_qweb.py
- setup.cfg 0 additions, 1 deletionsetup.cfg
- setup/package.dfcentos 0 additions, 1 deletionsetup/package.dfcentos
- setup/package.dfdebian 0 additions, 1 deletionsetup/package.dfdebian
- setup/package.dfsrc 0 additions, 1 deletionsetup/package.dfsrc
Loading
Please register or sign in to comment