diff --git a/.babelrc b/.babelrc index 08706fcd8..4fd578153 100644 --- a/.babelrc +++ b/.babelrc @@ -61,9 +61,13 @@ "presets": [ ["env", { "targets": { - "node": "9" + "node": "10" } - }], "flow"] + }], "flow"], + "plugins": [ + "transform-object-rest-spread", + "transform-class-properties" + ] }, "development": { "presets": ["flow"],