Update the minimum browsers versions

This commit is contained in:
gregoirenovel 2018-08-21 18:21:14 +02:00
parent c19f6a2416
commit fad18d6173
2 changed files with 7 additions and 7 deletions

View file

@ -6,11 +6,11 @@
// See config/browser.rb
"browsers": [
"> 1%",
"Chrome >= 40",
"Chrome >= 50",
"IE >= 11",
"Edge >= 12",
"Firefox >= 45",
"Opera >= 19",
"Edge >= 14",
"Firefox >= 50",
"Opera >= 40",
"Safari >= 8",
"iOS >= 8"
],

View file

@ -1,8 +1,8 @@
# See .babelrc
Browser.modern_rules.clear
Browser.modern_rules << -> b { b.chrome? && b.version.to_i >= 40 }
Browser.modern_rules << -> b { b.chrome? && b.version.to_i >= 50 }
Browser.modern_rules << -> b { b.ie?([">=11"]) }
Browser.modern_rules << -> b { b.edge? }
Browser.modern_rules << -> b { b.firefox? && b.version.to_i >= 45 }
Browser.modern_rules << -> b { b.opera? && b.version.to_i >= 19 }
Browser.modern_rules << -> b { b.firefox? && b.version.to_i >= 50 }
Browser.modern_rules << -> b { b.opera? && b.version.to_i >= 40 }
Browser.modern_rules << -> b { b.safari? && b.version.to_i >= 8 }