We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It will be nice to respect the user’s Browserslist config.
We can do it with code like:
let browserslist = require('browserslist') const baseBrowsers = browserslist() const es6 = browserslist('supports es6-module') const modernBrowsers = baseBrowsers.filter(i => es6.includes(i)) const legacyBrowsers = baseBrowsers.filter(i => !es6.includes(i))
The text was updated successfully, but these errors were encountered:
Hey, this is pretty clever. I like it!
Sorry, something went wrong.
I made PR to do this trick #87
With recent Browserslist 4.16, we can do it even more elegant by browserslist config query.
browserslist config
DanielSchaffer
No branches or pull requests
It will be nice to respect the user’s Browserslist config.
We can do it with code like:
The text was updated successfully, but these errors were encountered: