2018-11-05 10:06:39 +00:00
|
|
|
{
|
|
|
|
"presets": [
|
2019-08-09 09:40:26 +00:00
|
|
|
"@babel/react",
|
2020-06-01 12:16:44 +00:00
|
|
|
["@babel/env", {
|
|
|
|
"useBuiltIns": "usage",
|
|
|
|
"corejs": { "version": 3 }
|
|
|
|
}]
|
2019-07-16 09:13:18 +00:00
|
|
|
],
|
2020-12-16 10:41:31 +00:00
|
|
|
"plugins": ["angularjs-annotate", "macros"],
|
2020-09-15 12:48:08 +00:00
|
|
|
// Target our current Node version in test environment, to transform and
|
|
|
|
// polyfill only what's necessary
|
2020-07-09 13:56:33 +00:00
|
|
|
"env": {
|
|
|
|
"test": {
|
|
|
|
"presets": [
|
|
|
|
"@babel/react",
|
2020-09-15 12:48:08 +00:00
|
|
|
["@babel/env", {
|
|
|
|
"targets": {"node": "10.21"},
|
|
|
|
"useBuiltIns": "usage",
|
|
|
|
"corejs": { "version": 3 }
|
|
|
|
}]
|
2020-07-09 13:56:33 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2020-09-15 12:48:08 +00:00
|
|
|
}
|