Update the minimum browsers versions
This commit is contained in:
parent
c19f6a2416
commit
fad18d6173
2 changed files with 7 additions and 7 deletions
8
.babelrc
8
.babelrc
|
@ -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"
|
||||
],
|
||||
|
|
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue