31 lines
660 B
Plaintext
31 lines
660 B
Plaintext
{
|
|
"env": {
|
|
"test": {
|
|
"presets": [
|
|
"@babel/preset-env"
|
|
],
|
|
"plugins": [
|
|
"@babel/plugin-transform-modules-commonjs",
|
|
["module-resolver", {
|
|
"root": ["./src"],
|
|
"alias": {
|
|
"@": "./src"
|
|
}
|
|
}]
|
|
]
|
|
}
|
|
},
|
|
"presets": [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
"modules": false,
|
|
"useBuiltIns": "usage"
|
|
}
|
|
]
|
|
],
|
|
"plugins": [
|
|
"@babel/plugin-syntax-dynamic-import"
|
|
]
|
|
}
|