2016-02-27 08:49:32 +08:00
|
|
|
{
|
|
|
|
"presets": ["react"],
|
|
|
|
"ignore": ["third_party"],
|
|
|
|
"plugins": [
|
2016-07-21 08:39:10 +08:00
|
|
|
"transform-class-properties",
|
2016-02-27 08:49:32 +08:00
|
|
|
"syntax-trailing-function-commas",
|
2017-08-05 02:12:12 +08:00
|
|
|
["transform-object-rest-spread", { "useBuiltIns": true }],
|
2016-02-27 08:49:32 +08:00
|
|
|
"transform-es2015-template-literals",
|
|
|
|
"transform-es2015-literals",
|
|
|
|
"transform-es2015-arrow-functions",
|
|
|
|
"transform-es2015-block-scoped-functions",
|
|
|
|
["transform-es2015-classes", { "loose": true }],
|
|
|
|
"transform-es2015-object-super",
|
|
|
|
"transform-es2015-shorthand-properties",
|
|
|
|
"transform-es2015-computed-properties",
|
|
|
|
"transform-es2015-for-of",
|
|
|
|
"check-es2015-constants",
|
|
|
|
["transform-es2015-spread", { "loose": true }],
|
|
|
|
"transform-es2015-parameters",
|
|
|
|
["transform-es2015-destructuring", { "loose": true }],
|
2017-02-15 03:24:01 +08:00
|
|
|
["transform-es2015-block-scoping", { "throwIfClosureRequired": true }],
|
2016-02-27 08:49:32 +08:00
|
|
|
"transform-es3-member-expression-literals",
|
2017-04-05 23:47:29 +08:00
|
|
|
"transform-es3-property-literals"
|
2016-02-27 08:49:32 +08:00
|
|
|
]
|
|
|
|
}
|