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
Got Chrome 4 as earliest supported version #472
Comments
Can you show results of It will allow us to be sure, that it is not Babel problem. |
@ai looks like |
|
|
Start the new project without any dependency expect |
You may use different versions of Browserslist in |
@ai thanks for advise. I keep only
|
Thanks for the reproduction stand. I will not have a time next week, because of different open source projects. Can I ask you to review this code in your test stand? https://github.com/browserslist/browserslist/blob/master/index.js#L248-L260 |
I'll review during this week. May I ask your advise about condition like '> 0.5% in my stats but chrome > 70'. Is it possible somehow with the current codebase? |
|
I'm seeing the same issue. How can I assist to debug this issue? When doing |
I digged into the code a bit. The problem is Since both arguments in Then, since I'm willing to work on this issue, but I'm unsure where to tackle it. I don't want to make |
Can you send PR? It is hard to understand your fix in text description. |
@aronwoost can you check this PR? Maybe we already fixed the problem |
Same result in the PR
|
@aronwoost your test can be fixed by changing Line 130 in 3bfe8ca
to var normal = data[i].versions[0] Could you try this change? @ai As I see |
@Semigradsky The change does indeed fixes the test. But it does not fixes the Sorry for pointing in the wrong direction. 😕 Let me see if I can create a better test. |
I doubled checked and the fix works as expected. I was running When running I updated the PR. |
The fix released in 4.16.1. |
Commands and results
npx browserslist '> 0.5% in my stats'
Result
Looks like it's exactly what I have in my
browserslist-stats.json
.But when I use
babel/preset-env
and pass the same string/same config got next (debug mode on)When I pass all browsers' version into babel-env directly I don't have problems with build.
Versions
"@babel/core": "7.9.0"
The text was updated successfully, but these errors were encountered: