browserslist devenu .browserslistrc
This commit is contained in:
parent
57b13b909b
commit
96437493cf
3 changed files with 5862 additions and 15 deletions
9
.browserslistrc
Normal file
9
.browserslistrc
Normal 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
|
17
gulpfile.js
17
gulpfile.js
|
@ -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
5851
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue