scinote-web/.babelrc

32 lines
466 B
Text
Raw Normal View History

2017-07-12 22:41:55 +08:00
{
"presets": [
[
"env",
{
"modules": false,
"targets": {
"browsers": "> 1%",
"uglify": true
},
2017-07-27 19:53:29 +08:00
"useBuiltIns": true,
"loose": true
2017-07-12 22:41:55 +08:00
}
],
2017-07-27 19:53:29 +08:00
"react"
2017-07-12 22:41:55 +08:00
],
"plugins": [
"syntax-dynamic-import",
[
"transform-class-properties",
{
"spec": true
}
]
2017-07-13 20:11:01 +08:00
],
"env": {
"test": {
"plugins": ["transform-es2015-modules-commonjs"]
}
}
2017-07-12 22:41:55 +08:00
}