[Pkg-javascript-devel] Bug#977974: node-less: `lessc --clean-css` doesn't minify

Guilhem Moulin guilhem at debian.org
Thu Dec 24 10:11:47 GMT 2020


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20201224/4db7f81f/attachment.sig>


More information about the Pkg-javascript-devel mailing list