mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-24 07:34:11 +00:00
e5df865d51
Enable the Babel transpiler so that ES6 template literals, destructuring, and arrow functions can be used in production. "last n versions" syntax was not used so that builds are more reproducible. Bug: T165036 Change-Id: I553b6d14cc368c7b4366f68d13038c3d505f5429
24 lines
504 B
Plaintext
24 lines
504 B
Plaintext
{
|
|
"presets": [
|
|
[
|
|
"env",
|
|
{
|
|
// Do not transform modules to CommonJS.
|
|
"modules": false,
|
|
// 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"
|
|
}
|
|
}
|
|
]
|
|
]
|
|
}
|