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

Mangles #RGBA colors when compress = true #3153

Closed
Svish opened this issue Jan 9, 2018 · 2 comments
Closed

Mangles #RGBA colors when compress = true #3153

Svish opened this issue Jan 9, 2018 · 2 comments

Comments

@Svish
Copy link

Svish commented Jan 9, 2018

less: v2.7.3
less-loader: v4.0.5
node: v8.9.3
os: Microsoft Windows [Version 10.0.16299.125]

input:

background: #0001;
border-color: transparent transparent #0005 transparent;
border-color: #0005 transparent transparent transparent;

output with compress=false:

background:#0001;
border-color:transparent transparent #0005;
border-color:#0005 transparent transparent;

output with compress=true:

background:background:#0001 1;
border-color:transparent transparent #0005 5;
border-color:#0005 5 transparent transparent;

Maybe related to #1013? Not sure what is meant by "support" in that issue, but for now it would at least be nice if the value was left alone rather than being weirdly converted from #RGBA to #RGBA A...

@seven-phases-max
Copy link
Member

The "compress" option is deprecated more than two years ago.

@seven-phases-max
Copy link
Member

Closing as not applicable.

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

2 participants