Closed
Description
I'm finding that the --source-map option doesn't work, I'm getting the following error:
Error setting options on plugin less-plugin-clean-css
unrecognised clean-css option '--source-map'
Unable to interpret argument clean-css - if it is a plugin (less-plugin-clean-css), make sure that it is installed under or at the same level as less
This is after doing npm install -g less
then npm install -g less-plugin-clean-css
If I install clean-css and run that alone it works as expected, so cleancss tmp.css --source-map --output tmp.min.css
generates a cleaned file and the map.
However running lessc tmp.less tmp.css --clean-css="--source-map --output tmp.min.css"
results in the error code given above.
Other options, eg lessc tmp.less tmp.css --clean-css="--s1"
work fine.
I'm using [email protected] and [email protected]
Metadata
Metadata
Assignees
Labels
No labels