On Wed, 23 Dec 2020 at 17:39:44 +0100, Guilhem Moulin wrote:
> Running `apt install node-less node-clean-css` in a clean sid chroot I'm
> unable to make lessc produce minified output.

Forgot to explain why I expected otherwise.  It boils down to the
deprecation notice one gets when using `--compress`:

> $ lessc --compress /tmp/example.less
> The compress option has been deprecated. We recommend you use a dedicated css 
> minifier, for instance see less-plugin-clean-css.
> #header{width:10px;height:20px}

I'm able to produce minified output with the deprecated `--compress`,
and also with `--clean-css` when installing less and its clean-css
plugin via npm, but not with the Debian packages.  (Dunno if it's a
node-less or a node-clean-css issue.)

-- 
Guilhem.

Attachment: signature.asc
Description: PGP signature

Reply via email to