2017-07-12 22:41:55 +08:00
|
|
|
{
|
|
|
|
"presets": [
|
|
|
|
[
|
|
|
|
"env",
|
|
|
|
{
|
|
|
|
"modules": false,
|
|
|
|
"targets": {
|
|
|
|
"browsers": "> 1%",
|
|
|
|
"uglify": true
|
|
|
|
},
|
2017-08-07 17:47:21 +08:00
|
|
|
"useBuiltIns": true
|
2017-07-12 22:41:55 +08:00
|
|
|
}
|
|
|
|
],
|
2017-08-07 17:47:21 +08:00
|
|
|
"react",
|
|
|
|
"es2015"
|
2017-07-12 22:41:55 +08:00
|
|
|
],
|
|
|
|
"plugins": [
|
2017-08-03 17:17:09 +08:00
|
|
|
"transform-object-rest-spread",
|
2017-07-12 22:41:55 +08:00
|
|
|
"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
|
|
|
}
|