Browserslist Config
This configuration reflects Growcss’s supported browser policy for their UI library and build tools.
Daniel Bannert's open source work is supported by the community on GitHub Sponsors
What is Browserslist?
Browserslist is a library to share a browsers list between different front end tools, like Autoprefixer, Eslint, and Stylelint.
Supported Browsers
{
"production": [
"> 1%",
"last 2 versions",
"Firefox ESR"
],
"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"
],
"ssr": [
"node 12"
]
}
Installation
Install the module
npm install browserslist-config-anolilab --save-dev
yarn add -D browserslist-config-anolilab
pnpm add -D browserslist-config-anolilab
Usage
Package.json
{
"browserslist": ["extends browserslist-config-anolilab"]
}
Alternatively, add this to .browserslistrc
file:
extends browserslist-config-anolilab
Or when using babel-preset-env
{
presets: [
[
'env',
{
targets: {
browsers: require('browserslist-config-anolilab'),
},
},
],
];
}
Supported Node.js Versions
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.
Contributing
If you would like to help take a look at the list of issues and check our Contributing guild.
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.
Credits
License
The anolilab javascript-style-guide is open-sourced software licensed under the MIT license