mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 15:16:50 +00:00
Move browserslist targets to new file and change targets
Make targets consistent with Mobile Frontend's .babelrc and put them into a .browserslistrc file. This did not change the build files. Change-Id: Ic4fe13c9e4423d4bb5e6da5fce9039d04a9a215f
This commit is contained in:
parent
5752b3feb1
commit
53001bee4c
20
.babelrc
20
.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"]
|
||||
}
|
||||
|
|
17
.browserslistrc
Normal file
17
.browserslistrc
Normal 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
|
Loading…
Reference in a new issue