diff --git a/.babelrc b/.babelrc index 3901f7fb1..526ddfd8d 100644 --- a/.babelrc +++ b/.babelrc @@ -1,21 +1,3 @@ { - "presets": [ - [ - "@babel/preset-env", - { - // See modern tier: https://www.mediawiki.org/wiki/Compatibility#Browser_support_matrix - "targets": { - // https://en.wikipedia.org/wiki/Google_Chrome_version_history - "chrome": "64", - "ie": "11", - // https://en.wikipedia.org/wiki/Firefox_version_history - "firefox": "58", - "safari": "5.1", - "opera": "15", - "ios": "6.1", - "android": "4.1" - } - } - ] - ] + "presets": ["@babel/preset-env"] } diff --git a/.browserslistrc b/.browserslistrc new file mode 100644 index 000000000..49b7e303a --- /dev/null +++ b/.browserslistrc @@ -0,0 +1,17 @@ +# See Grade A in resource loader startup module mediawikicore resources/src/startup/startup.js + +# https//en.wikipedia.org/wiki/Google_Chrome_version_history +chrome 13 + +ie 11 + +# https//en.wikipedia.org/wiki/Firefox_version_history +firefox 4.0 + +safari 5.0 + +opera 15 + +ios 6.0 + +android 4.1