2018-11-05 10:06:39 +00:00
|
|
|
{
|
|
|
|
"presets": [
|
2021-06-23 09:37:08 +00:00
|
|
|
[
|
|
|
|
"@babel/react",
|
|
|
|
{
|
|
|
|
"runtime": "automatic"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"@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": [
|
2021-06-23 09:37:08 +00:00
|
|
|
[
|
|
|
|
"@babel/react",
|
|
|
|
{
|
|
|
|
"runtime": "automatic"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"@babel/env",
|
|
|
|
{
|
|
|
|
"targets": { "node": "12.21" },
|
2020-09-15 12:48:08 +00:00
|
|
|
"useBuiltIns": "usage",
|
|
|
|
"corejs": { "version": 3 }
|
2021-06-23 09:37:08 +00:00
|
|
|
}
|
|
|
|
]
|
2020-07-09 13:56:33 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2020-09-15 12:48:08 +00:00
|
|
|
}
|