Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleancss -O2 --skip-rebase -o #85

Open
thagxt opened this issue Mar 7, 2021 · 5 comments
Open

cleancss -O2 --skip-rebase -o #85

thagxt opened this issue Mar 7, 2021 · 5 comments

Comments

@thagxt
Copy link

thagxt commented Mar 7, 2021

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'
@input-username-here
Copy link

Here's a small fix to get minify working:

npm uninstall -g clean-css-cli
npm install -g clean-css@3.4.24

After installing an older version I was able to use the context menu for minifying.

Definitely not ideal, but it works.

@thagxt
Copy link
Author

thagxt commented Mar 19, 2021

yes, that worked for me as well. Thank you

cikaldev added a commit to cikaldev/Minify that referenced this issue Mar 22, 2021
```
cleancss -O2 --skip-rebase -o /path/to/file/style.css
error: unknown option '--skip-rebase'
```

reference issue:  tssajo#85

* update node clean-css using exact version clean-css@3.4.24
* fix typo on README (part example and license)

Note:
This is just **Temporary** solution, before you make an update to functionality of this package. So people like me can use your package properly, specially for minify css code.

Regard's
ian
@CodeByZach
Copy link

Same here. Kind of a pain.

@abin2011
Copy link

// “cssminifier”: “clean-css”,
to this line:
“cssminifier”: “uglifycss”,

@dpodoroga
Copy link

worked for me only
"cssminifier": "yui",
but need to install java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants