2018-11-05 05:06:39 -05:00
|
|
|
{
|
|
|
|
"presets": [
|
2022-03-15 09:17:43 -04:00
|
|
|
"@babel/typescript",
|
2021-06-23 05:37:08 -04:00
|
|
|
[
|
|
|
|
"@babel/react",
|
|
|
|
{
|
|
|
|
"runtime": "automatic"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"@babel/env",
|
|
|
|
{
|
|
|
|
"useBuiltIns": "usage",
|
2021-12-14 08:25:25 -05:00
|
|
|
// This version must be aligned with the `core-js` version in `package.json`
|
|
|
|
"corejs": { "version": 3.6 }
|
2021-06-23 05:37:08 -04:00
|
|
|
}
|
|
|
|
]
|
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": [
|
2022-03-15 09:17:43 -04:00
|
|
|
"@babel/typescript",
|
2021-06-23 05:37:08 -04:00
|
|
|
[
|
|
|
|
"@babel/react",
|
|
|
|
{
|
|
|
|
"runtime": "automatic"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"@babel/env",
|
|
|
|
{
|
2022-04-06 05:59:13 -04:00
|
|
|
"targets": { "node": "14.18" },
|
2020-09-15 08:48:08 -04:00
|
|
|
"useBuiltIns": "usage",
|
2022-01-11 12:20:03 -05:00
|
|
|
// This version must be aligned with the `core-js` version in `package.json`
|
|
|
|
"corejs": { "version": 3.6 }
|
2021-06-23 05:37:08 -04:00
|
|
|
}
|
|
|
|
]
|
2020-07-09 09:56:33 -04:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2020-09-15 08:48:08 -04:00
|
|
|
}
|