browserslist devenu .browserslistrc

This commit is contained in:
Raphael 2019-07-17 16:21:59 +02:00
parent 57b13b909b
commit 96437493cf
3 changed files with 5862 additions and 15 deletions

9
.browserslistrc Normal file
View file

@ -0,0 +1,9 @@
> 1%
last 2 versions
IE >= 11
Edge >= 16
Chrome >= 60
Firefox >= 50 Firefox ESR
Safari >= 10
ios_saf >= 10
Android >= 6

View file

@ -13,22 +13,10 @@ var unprefix = require("postcss-unprefix"); // deletes old prefixes
var flexbugs = require('postcss-flexbugs-fixes'); // flexbox fixes for IE var flexbugs = require('postcss-flexbugs-fixes'); // flexbox fixes for IE
var gaps = require('postcss-gap-properties'); // gaps polyfill var gaps = require('postcss-gap-properties'); // gaps polyfill
var browsersList = [
'> 1%',
'last 2 versions',
'IE >= 11', 'Edge >= 16',
'Chrome >= 60',
'Firefox >= 50', 'Firefox ESR',
'Safari >= 10',
'ios_saf >= 10',
'Android >= 6'
];
var plugins = [ var plugins = [
unprefix(), unprefix(),
autoprefixer({ autoprefixer({
grid: true, grid: true
browsers: browsersList
}), }),
flexbugs(), flexbugs(),
gaps() gaps()
@ -37,8 +25,7 @@ var plugins = [
var pluginsProd = [ var pluginsProd = [
unprefix(), unprefix(),
autoprefixer({ autoprefixer({
grid: true, grid: true
browsers: browsersList
}), }),
flexbugs(), flexbugs(),
gaps(), gaps(),

5851
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff