2018-06-25 18:29:57 +02:00
|
|
|
{
|
2018-11-29 14:13:58 +01:00
|
|
|
"env": {
|
|
|
|
"test": {
|
|
|
|
"presets": [
|
|
|
|
"@babel/preset-env"
|
|
|
|
],
|
2018-11-29 14:48:20 +01:00
|
|
|
"plugins": [
|
|
|
|
"@babel/plugin-transform-modules-commonjs",
|
|
|
|
["module-resolver", {
|
|
|
|
"root": ["./src"],
|
|
|
|
"alias": {
|
|
|
|
"@": "./src"
|
|
|
|
}
|
|
|
|
}]
|
|
|
|
]
|
2018-11-29 14:13:58 +01:00
|
|
|
}
|
|
|
|
},
|
2018-08-05 22:05:56 +02:00
|
|
|
"presets": [
|
2018-08-28 17:49:54 +02:00
|
|
|
[
|
|
|
|
"@babel/preset-env",
|
|
|
|
{
|
|
|
|
"modules": false,
|
|
|
|
"useBuiltIns": "usage"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"plugins": [
|
2018-09-04 12:05:51 +02:00
|
|
|
"@babel/plugin-syntax-dynamic-import"
|
2018-08-05 22:05:56 +02:00
|
|
|
]
|
2018-06-25 18:29:57 +02:00
|
|
|
}
|