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

autoprefixer().info() is not working #86

Closed
CharlesKumar opened this issue Aug 2, 2017 · 3 comments
Closed

autoprefixer().info() is not working #86

CharlesKumar opened this issue Aug 2, 2017 · 3 comments

Comments

@CharlesKumar
Copy link

Actually this is not an issue/bug

I wonder how to know/debug what browsers are going to be prefixed by gulp-autoprefixer

is there any alternative way to know that information

@joshbuchea
Copy link

From Debug section of Autoprefixer README:

Run npx autoprefixer --info in your project directory to check which browsers are selected and which properties will be prefixed:

@CharlesKumar
Copy link
Author

Thanks for your reply....

I have small doubt on how to interpret the result

Browsers:
Chrome for Android: 64
Firefox for Android: 57
And_qq: 1.2
UC for Android: 11.8
Android: 62, 4.4.3-4.4.4, 4.4
Baidu: 7.12
Chrome: 64, 63, 49
Edge: 16, 15
Firefox: 58, 57, 52
IE: 11
IE Mobile: 11
iOS: 11.0-11.2, 10.3, 10.0-10.2
Opera Mini: all
Opera Mobile: 37, 12.1
Opera: 50, 49
Safari: 11, 10.1
Samsung: 6.2, 5, 4

These browsers account for 91.73% of all users globally

The listed versions of the browsers going to be autoprefixed and in case of Chrome: 64, 63, 49 Firefox: 58, 57, 52

either chrome 49-64, firefox 52-57 (the entire range of browser versions) going to be autoprefixed or just account for the listed browsers.

or (autoprefixer uses data from caniuse afaik) there is no need to care, because the vendor prefixes are same for the entire range of browser versions

or only the listed versions are used globally (more) by the users

@CharlesKumar
Copy link
Author

I might have expected a verbose cli output of what had happened during autoprefixing. Now I closing this because now it is out of concern for me.

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