mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 18:21:04 +08:00
34 lines
552 B
Text
34 lines
552 B
Text
{
|
|
"presets": [
|
|
[
|
|
"env",
|
|
{
|
|
"modules": false,
|
|
"targets": {
|
|
"browsers": ["last 2 versions"],
|
|
"uglify": true
|
|
},
|
|
"useBuiltIns": true
|
|
}
|
|
],
|
|
"react",
|
|
"es2015",
|
|
"flow"
|
|
],
|
|
"plugins": [
|
|
"transform-object-rest-spread",
|
|
"syntax-dynamic-import",
|
|
"transform-react-jsx-source",
|
|
[
|
|
"transform-class-properties",
|
|
{
|
|
"spec": true
|
|
}
|
|
]
|
|
],
|
|
"env": {
|
|
"test": {
|
|
"plugins": ["transform-es2015-modules-commonjs"]
|
|
}
|
|
}
|
|
}
|