Browserslist Config
This configuration reflects Growcss's supported browser policy for their UI library and build tools.
What is Browserslist?
Browserslist is a library to share a browsers list between different front-end tools, like Autoprefixer, Eslint, and Stylelint.
Supported Browsers
Browsers list | |
---|
1% | global browser |
ie | >= 11 |
last 1 | Android versions |
last 1 | ChromeAndroid versions |
last 2 | Chrome versions |
last 2 | Firefox versions |
last 2 | Safari versions |
last 2 | iOS versions |
last 2 | Edge versions |
last 2 | Opera versions |
Installation
Install the module
$ npm install browserslist-config-anolilab --save-dev
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'),
},
},
],
];
}