27 行
538 B
Plaintext
27 行
538 B
Plaintext
{
|
|
"presets": [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
"corejs": {
|
|
"version": 3,
|
|
"proposals": true
|
|
},
|
|
"modules": false,
|
|
// https://github.com/wikimedia/mediawiki/blob/master/resources/src/startup/startup.js#L15
|
|
"targets": {
|
|
"chrome": "58",
|
|
"edge": "79",
|
|
"opera": "50",
|
|
"firefox": "58",
|
|
"safari": "11.1",
|
|
"android": "5.0"
|
|
},
|
|
"useBuiltIns": "entry"
|
|
}
|
|
]
|
|
],
|
|
"plugins": ["array-includes", "transform-object-hasown"],
|
|
"ignore": ["scripts/", "dist/", "src/lib/", "*.json"]
|
|
}
|