Merge "Move browserslist targets to new file and change targets"

This commit is contained in:
jenkins-bot 2019-02-12 22:46:14 +00:00 committed by Gerrit Code Review
commit b25532384b
2 changed files with 18 additions and 19 deletions

View file

@ -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"]
}

17
.browserslistrc Normal file
View file

@ -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