mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 01:35:34 +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"]
|
|
}
|
|
}
|
|
}
|