Skip to content

1.6.0 ignores cli arguments #44

@Bouke

Description

@Bouke

When command line arguments are provided, they no longer have any impact on the outcome.

Given file.less:

/*! hello */
/*! world */
foo { bar: 1 }

and compiled using:

lessc file.less --clean-css="--s1 --advanced --compatibility=ie8" file.css

Expected outcome:

/*! hello */foo{bar:1}

Actual outcome:

/*! hello *//*! world */foo{bar:1}

Context

package.json:

{
  "dependencies": {
    "less": "^4.2.0",
    "less-plugin-clean-css": "^1.6.0"
  }
}
clean-css: 5.3.3
less-plugin-clean-css: 1.6.0
less: 4.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions