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

[Bug] Using "last X versions or not dead", nearly not more prefixing. #1304

Open
Yivan opened this issue Apr 19, 2020 · 3 comments
Open

[Bug] Using "last X versions or not dead", nearly not more prefixing. #1304

Yivan opened this issue Apr 19, 2020 · 3 comments

Comments

@Yivan
Copy link

Yivan commented Apr 19, 2020

Hello,

I spend long time on this, but i arrive to the conclusion that there is a bug when "or not dead" condition used (settings option or .rc file same).

Bug:
Adding "or not dead" doesn't prefix the file as intended.

To reproduce:
Run a first time with just "last 10 versions": you will get a well prefixed files with many prefix.
Run a second time with "last 10 versions or not dead": you get no more prefixers (or very few), and file size is a lot lighter so. It should not as it is a "or" condition.

What is strange is that the list of browsers detected is right... so it is like there is something special during prefixing for this condition in the prefixing code itself... if it can help to fix the bug, maybe there is something here.

This bugs doesn't happen with condition like "or not ie <= 10", in this case it works fine.

I hope it could be fixed, because if some devolpers and a condition like this, they break all the prefixing...

Thanks!

@ai
Copy link
Member

ai commented Apr 19, 2020

Please send PR to https://github.com/browserslist/browserslist

I am closing issue because this issue is not relevant to the Autoprefixer code. You can open an issue in Browserslist repo.

@Yivan
Copy link
Author

Yivan commented Apr 19, 2020

@ai Ho yes you are totally right. Really sorry of this mistake !

@Dan503

This comment has been minimized.

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

3 participants