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

The command line interface to clean-css CSS optimizer

Results 14 clean-css-cli issues
Sort by recently updated
recently updated
newest added

The (first) selector inside the at-rule together with the opening `{` of the rule-block and the first property-value pair is removed. (treated as an invalid property name). input: ``` @container...

Fixes https://github.com/clean-css/clean-css-cli/issues/80

this is a bug ```javascript options = { batch: inputOptions.batch, compatibility: inputOptions.compatibility, format: inputOptions.format, inline: typeof inputOptions.inline == 'string' ? inputOptions.inline : 'local', inlineTimeout: inputOptions.inlineTimeout * 1000, level: { 1:...

- Using command `cleancss --with-rebase src/scss/index.css -o dist/main.min.css`. - A URL within `/src/scss/modules/_component.scss` is being re-based incorrectly. - CSS: `url("../../assets/icons/icon-chevron.svg");` - Rebases to: `url("../assets/icons/icon-chevron.svg");` - Should rebase to: `url("assets/icons/icon-chevron.svg");`

I'd like to enable the formatting option `semicolonAfterLastProperty` in the CLI: ```shell cleancss --format 'semicolonAfterLastProperty=on' foo.css ``` Could you support this option for the CLI?

bug

On my windows PC, this npm script work greate: ``` "fix-styles": "cleancss -O2 'all:off;removeDuplicateRules:on' --format beautify -o ./src/static/antd-theme-clean.css ./src/static/antd-theme.css" ``` then I runing "npm run fix-styles" all work greate. But...

https://caniuse.com/css-nesting has been part of the official CSS spec, and available in all browsers for about a year now (half a year if you only consider "without turning on a...

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.8 to 1.15.4. Commits 6585820 Release version 1.15.4 of the npm package. 7a6567e Disallow bracketed hostnames. 05629af Prefer native URL instead of deprecated url.parse. 1cba8e8 Prefer native...

dependencies

When using a selector such as `:nth-child(1 of .item)` it is compressed down to `:nth-child(1of.item)` thus breaking the selector.

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...

enhancement
help wanted