mediawiki-extensions-Popups/.babelrc
Stephen Niedzielski e5df865d51 Hygiene: enable Babel transpilation
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
2018-03-20 07:59:14 -05:00

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