40 lines
650 B
JSON
40 lines
650 B
JSON
|
{
|
||
|
"env": {
|
||
|
"production": {
|
||
|
"presets": [
|
||
|
[
|
||
|
"@babel/preset-env",
|
||
|
{
|
||
|
"useBuiltIns": false,
|
||
|
"loose": true
|
||
|
}
|
||
|
]
|
||
|
],
|
||
|
"plugins": [
|
||
|
[
|
||
|
"@babel/plugin-transform-runtime",
|
||
|
{
|
||
|
"helpers": true,
|
||
|
"regenerator": true
|
||
|
}
|
||
|
]
|
||
|
]
|
||
|
},
|
||
|
"test": {
|
||
|
"presets": [
|
||
|
[
|
||
|
"@babel/preset-env",
|
||
|
{
|
||
|
"targets": {
|
||
|
"node": "current"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
],
|
||
|
"plugins": [
|
||
|
"babel-plugin-dynamic-import-node"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|