1.6.0 ignores cli arguments
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- cli
Research direction
Reproduce the issue with the lessc command and the versions listed in package.json, then trace how the plugin receives and forwards the --clean-css arguments. Done means the supplied options affect compression so the output retains only one /*! comment, matching the expected CSS.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- JavaScript
- Stars
- 193
- Forks
- 41
- Avg merge
- 7h 43m
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from less/less-plugin-clean-css
-
Difficulty 3/5 1-2 days Newbie friendliness 28/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
less/less-plugin-clean-css#42 · 1 comment · 2 reactions ·
-
ReleaseOpen
Difficulty 4/5 3-5 days Newbie friendliness 20/100
less/less-plugin-clean-css#40 · 9 comments · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
-
Difficulty 3/5 1-2 days Newbie friendliness 50/100
less/less-plugin-clean-css#32 · 1 reaction ·
All issues in less/less-plugin-clean-css
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 3 days
-
audit.md numbers Theming and Responsive Design differently in the headings and the score tablePossibly taken @pbakaus claimed this today. Openneeds triage
Difficulty 1/5 Under an hour Newbie friendliness 90/100
pbakaus/impeccable#979 ·
Maintainers usually reply within 1 day
-
area/web interface
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
mastodon/mastodon#40924 · 1 comment ·
Maintainers usually reply within 1 day
-
fireEvent.select does not wrap its automatic native focus in actPossibly taken @sergioperezcheco claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug user-priority/P2
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Maintainers usually reply within 1 day