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

Not work adding or deleting some parametrs

Open pavel-everyday opened this issue 3 years ago • 0 comments

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 if I want to do the same on mac or in CI (Linux), part of coomand are skipped - in the result CSS file there are some duplicate rules.

How I should run cleancss cli in CI to delete duplicate rules?

pavel-everyday avatar Sep 09 '22 07:09 pavel-everyday