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