summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2016-06-06 16:30:15 +0200
committerSimon Lejeune <sle@openerp.com>2016-06-10 17:22:03 +0200
commit123e51f4d537b516729aef4f04dca944efdbea1b (patch)
treec74484b3bcaaea4c577f6fe390de07673f673db5 /doc
parentb466a9eea024d66ba10b6c1927252951faa4b188 (diff)
[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
Diffstat (limited to 'doc')
-rw-r--r--doc/setup/install.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/setup/install.rst b/doc/setup/install.rst
index e74ce8345cc..41a8d3e2e4a 100644
--- a/doc/setup/install.rst
+++ b/doc/setup/install.rst
@@ -462,25 +462,25 @@ Source installation requires manually installing dependencies:
$ apt-get install -y npm
$ sudo ln -s /usr/bin/nodejs /usr/bin/node
- Once npm is installed, use it to install less and less-plugin-clean-css:
+ Once npm is installed, use it to install less:
.. code-block:: console
- $ sudo npm install -g less less-plugin-clean-css
+ $ sudo npm install -g less
- on OS X, install nodejs via your preferred package manager (homebrew_,
- macports_) then install less and less-plugin-clean-css:
+ macports_) then install less:
.. code-block:: console
- $ sudo npm install -g less less-plugin-clean-css
+ $ sudo npm install -g less
- on Windows, `install nodejs <http://nodejs.org/download/>`_, reboot (to
- update the :envvar:`PATH`) and install less and less-plugin-clean-css:
+ update the :envvar:`PATH`) and install less:
.. code-block:: ps1
- C:\> npm install -g less less-plugin-clean-css
+ C:\> npm install -g less
Running Odoo
------------