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

1.6.0 ignores cli arguments #44

Open
Bouke opened this issue Nov 7, 2024 · 0 comments
Open

1.6.0 ignores cli arguments #44

Bouke opened this issue Nov 7, 2024 · 0 comments

Comments

@Bouke
Copy link

Bouke commented Nov 7, 2024

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
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

1 participant