Skip to content

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

Description

@thagxt

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'

Activity

  1. input-username-here commented on Mar 19, 2021

    @input-username-here

    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.

  2. thagxt commented on Mar 19, 2021

    @thagxt
    Author

    yes, that worked for me as well. Thank you

  3. CodeByZach commented on Apr 30, 2021

    @CodeByZach

    Same here. Kind of a pain.

  4. abin2011 commented on Jun 11, 2021

    @abin2011

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

  5. dpodoroga commented on Feb 22, 2023

    @dpodoroga

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions