suppression de browserslist dans gulpfile

This commit is contained in:
Raphael 2019-08-12 17:00:21 +02:00
parent 7249492817
commit 47f025409b

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 >= 10', 'Edge >= 16',
'Chrome >= 60',
'Firefox >= 50', 'Firefox ESR',
'Safari >= 10',
'ios_saf >= 10',
'Android >= 5'
];
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(),