less-plugin-clean-css icon indicating copy to clipboard operation
less-plugin-clean-css copied to clipboard

Allow proper rebasing

Open matthieusieben opened this issue 9 years ago • 3 comments

This plugin should specify the relativeTo and target clean-css options in order to allow proper rebasing.

matthieusieben avatar Mar 17 '16 12:03 matthieusieben

Well, the plugin is only wrapper of clean-css, it does not really knows anything about CSS code it passes through, so if clean-css itself does not provide these options then the plugin can do nothing about it.

seven-phases-max avatar Apr 11 '16 14:04 seven-phases-max

Please see target and relativeTo

matthieusieben avatar Apr 12 '16 07:04 matthieusieben

I see. (Now I wonder why CLI options are hardcoded by the plugin tinsel at all. It seems to be quite tedious to sync https://github.com/less/less-plugin-clean-css/blob/master/lib/parse-options.js to https://github.com/jakubpawlowicz/clean-css/blob/master/bin/cleancss each time a new option is in. Should not we switch just to passing JS-named-options through? (with corresponding exceptions of course)).

seven-phases-max avatar Apr 12 '16 12:04 seven-phases-max