Daniel Bannert's open source work is supported by the community on GitHub Sponsors
npm install browserslist-config-anolilabyarn add browserslist-config-anolilabpnpm add browserslist-config-anolilab{
"browserslist": ["extends browserslist-config-anolilab"]
}Alternatively, add this to .browserslistrc file:
extends browserslist-config-anolilab
Or when using babel-preset-env
module.exports = {
presets: [
[
"env",
{
targets: {
// eslint-disable-next-line global-require
browsers: require("browserslist-config-anolilab"),
},
},
],
],
}Browserslist is a library to share a browsers list between different front end tools, like Autoprefixer, Eslint, and Stylelint.
- Valid Browserslist query syntax validation browserl.ist
- "Browserslist is a Good Idea" (blog post by @chriscoyier)
{
"legacyBrowsers": ["> 1%", "last 2 versions", "Firefox ESR"],
"modernBrowsers": [
"last 2 Chrome versions",
"not Chrome < 60",
"last 2 Safari versions",
"not Safari < 10.1",
"last 2 iOS versions",
"not iOS < 10.3",
"last 2 Firefox versions",
"not Firefox < 54",
"last 2 Edge versions",
"not Edge < 15"
],
"node": ["last 2 node major versions"],
"production": ["> 1%", "last 2 versions", "Firefox ESR", "not dead"],
"ssr": ["node 22"]
}Libraries in this ecosystem make the best effort to track Node.js’ release schedule.
Here’s a post on why we think this is important.
If you would like to help take a look at the list of issues and check our Contributing guidelines.
Note: please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
This is an open source project and will always remain free to use. If you think it’s cool, please star it 🌟. Anolilab is a Development and AI Studio. Contact at hello@anolilab.com if you need any help with these technologies or want to say hi!
The anolilab browserslist-config-anolilab is open-sourced software licensed under the MIT