clean-css-cli icon indicating copy to clipboard operation
clean-css-cli copied to clipboard

[Feature Request] Load options from configuration file

Open TrebledJ opened this issue 2 years ago • 1 comments

CleanCSS is a robust library and provides a plethora of different options for minification, formatting, and optimisation. However, when a developer tunes many different options, they may become lost in the sea of one-line text.

This situation is similar to many formatting engines. Their solution? Allow the option to load from a config file. Doing so presents the options in a more human-readable, structured, and maintainable format. Personally, I like YAML. It would be great to have such an option with the CleanCSS CLI.

TrebledJ avatar Sep 23 '23 08:09 TrebledJ

Hey @TrebledJ. It would be nice indeed, however I don't have time to implement this. Any takers are more than welcome!

jakubpawlowicz avatar Sep 27 '23 11:09 jakubpawlowicz