-
-
Notifications
You must be signed in to change notification settings - Fork 78
fix browserslist support queries #1042
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
fix browserslist support queries #1042
Conversation
export const browsersWithSupportStats = [ | ||
'and_chr', | ||
'and_ff', | ||
'android', | ||
'chrome', | ||
'edge', | ||
'firefox', | ||
'ie', | ||
'ios_saf', | ||
'op_mini', | ||
'op_mob', | ||
'opera', | ||
'safari', | ||
'samsung', | ||
]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this includes something that we don't have data for, like baidu
and the browserslist query of the user also includes one of these then the internal logic in postcss-preset-env
will always transpile everything.
I've moved this to a separate file and I am not using this a filter consistently throughout the codebase.
.test-custom-properties { | ||
order: var(--order); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
var()
is not transpiled, and this matches the expectations for this test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Wow, thank you so much for the blazing-fast turn around! Good work! 🚀 |
We still have to release this, but we will do so as soon as possible 🎉 |
fixes : #1041
On the site :
I didn't really want to provide UI to communicate error messages.
alert()
should be fine for now 😄