Open thany opened 7 years ago
doiuse makes use of the browserslist
package here:
https://github.com/ai/browserslist
I'd be happy to accept a PR adding this to the docs.
On Thu, Mar 9, 2017 at 8:23 AM thany notifications@github.com wrote:
I'm missing browser query documentation.
I have no way of knowing what sort of syntax the browser query supports, what browser names it knows, and how to specify which (if any) versions to test against.
So can we please have some documentation on this?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/anandthakker/doiuse/issues/63, or mute the thread https://github.com/notifications/unsubscribe-auth/AEvmR5sG_ks7U_KDkpOx_hcXm5b-Xnefks5rj_1jgaJpZM4MYE12 .
@anandthakker can you release a version of doiuse to npm that supports this? I don't think what's in npm has this code.
Just published 2.6.0 -- thanks for the heads up @stevewillard
Since doiuse now uses browserslist to resolve the targeted browsers, a reference to the browserslist docs in the readme should be enough. A PR is welcome.
doiuse": "^3.0.0"
doesn't work with .browserslistrc
as other postcss plugins by default
postcss.config.js:
plugins: {
stylelint: {},
'postcss-import': {},
'postcss-url': {},
'css-mqpacker': {},
// lost: {},
'postcss-cssnext': {},
precss: {},
cssnano: {
zindex: false,
autoprefixer: false
},
doiuse: {},
'postcss-browser-reporter': {},
'postcss-reporter': {
throwError: false,
clearReportedMessages: true
}
}
It seems like it's not picking up my browserslist section of my package.json either.
I have an explicit "not ie 10" rule, and still getting rem (root em) units only partially supported by: IE (10) (rem)
wherever I use rem.
browserlist itself doesn't even seem to respect it's own query language docs, so it might not be a doiuse issue, lol. "not ie 10" passes the browser list query, so who knows
v4.0.0 still does not detect a .browserslistrc
file nor package.json
configuration.
v4.0.0 still does not detect a
.browserslistrc
file norpackage.json
configuration.
Any update on this?
I'm missing browser query documentation.
I have no way of knowing what sort of syntax the browser query supports, what browser names it knows, and how to specify which (if any) versions to test against.
So can we please have some documentation on this?