From e74b441134c3d39acabc8ed81c5e07f5134ca6cb Mon Sep 17 00:00:00 2001 From: Jake Goulding Date: Wed, 25 Oct 2017 11:47:09 -0400 Subject: [PATCH] Use the Rust-standard browserslist --- ui/frontend/.babelrc | 3 --- ui/frontend/.browserslistrc | 9 +++++++++ 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 ui/frontend/.browserslistrc diff --git a/ui/frontend/.babelrc b/ui/frontend/.babelrc index dc95c2b1f..113fbce43 100644 --- a/ui/frontend/.babelrc +++ b/ui/frontend/.babelrc @@ -1,9 +1,6 @@ { "presets": [ [ "env", { - "targets": { - "browsers": "last 2 versions, not ie < 11", - }, "modules": false, "useBuiltIns": true, }], diff --git a/ui/frontend/.browserslistrc b/ui/frontend/.browserslistrc new file mode 100644 index 000000000..638851b72 --- /dev/null +++ b/ui/frontend/.browserslistrc @@ -0,0 +1,9 @@ +# https://github.com/rust-lang/rfcs/blob/master/text/1985-tiered-browser-support.md + +last 2 Chrome versions +last 1 Firefox version +Firefox ESR +last 1 Safari version +last 1 iOS version +last 1 Edge version +last 1 UCAndroid version