scinote-web/.babelrc

33 lines
518 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-class-properties",
{
"spec": true
}
]
],
"env": {
"test": {
"plugins": ["transform-es2015-modules-commonjs"]
}
}
}