mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-30 20:23:14 +08:00
32 lines
493 B
Text
32 lines
493 B
Text
{
|
|
"presets": [
|
|
[
|
|
"env",
|
|
{
|
|
"modules": false,
|
|
"targets": {
|
|
"browsers": "> 1%",
|
|
"uglify": true
|
|
},
|
|
"useBuiltIns": true
|
|
}
|
|
],
|
|
"react",
|
|
"es2015"
|
|
],
|
|
"plugins": [
|
|
"transform-object-rest-spread",
|
|
"syntax-dynamic-import",
|
|
[
|
|
"transform-class-properties",
|
|
{
|
|
"spec": true
|
|
}
|
|
]
|
|
],
|
|
"env": {
|
|
"test": {
|
|
"plugins": ["transform-es2015-modules-commonjs"]
|
|
}
|
|
}
|
|
}
|