Minify
Minify copied to clipboard
cleancss -O2 --skip-rebase -o
I'm getting the following error trying to minify CSS and can't find any info on fixing it.
cleancss -O2 --skip-rebase -o /path/to/file/style.css
error: unknown option '--skip-rebase'
Here's a small fix to get minify working:
npm uninstall -g clean-css-cli npm install -g [email protected]
After installing an older version I was able to use the context menu for minifying.
Definitely not ideal, but it works.
yes, that worked for me as well. Thank you
Same here. Kind of a pain.
// “cssminifier”: “clean-css”, to this line: “cssminifier”: “uglifycss”,
worked for me only "cssminifier": "yui", but need to install java