mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +08:00
35 lines
595 B
Text
35 lines
595 B
Text
{
|
|
"presets": [
|
|
[
|
|
"env",
|
|
{
|
|
"modules": false,
|
|
"targets": {
|
|
"browsers": ["last 2 versions", "ie 10"],
|
|
"uglify": true
|
|
},
|
|
"useBuiltIns": true
|
|
}
|
|
],
|
|
"react",
|
|
"es2015",
|
|
"flow"
|
|
],
|
|
"plugins": [
|
|
"transform-flow-strip-types",
|
|
"transform-object-rest-spread",
|
|
"syntax-dynamic-import",
|
|
"transform-react-jsx-source",
|
|
[
|
|
"transform-class-properties",
|
|
{
|
|
"spec": true
|
|
}
|
|
]
|
|
],
|
|
"env": {
|
|
"test": {
|
|
"plugins": ["transform-es2015-modules-commonjs"]
|
|
}
|
|
}
|
|
}
|