From 30e19417711d278344eb579c1301884b30d6b4a5 Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Wed, 4 Apr 2018 23:33:54 +0200 Subject: [PATCH] chore: update babel to transpile for above node6 --- .babelrc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.babelrc b/.babelrc index 66f872326..b173772a2 100644 --- a/.babelrc +++ b/.babelrc @@ -34,17 +34,19 @@ }, "registry": { "presets": [ - "es2015-node4", "flow" - ], + ["env", { + "targets": { + "node": "6.10" + } + }], "stage-3", "flow"], "plugins": [ - "transform-object-rest-spread" + "transform-object-rest-spread", + "transform-class-properties" ] }, "development": { "presets": ["flow"], - "plugins": [ - "flow-runtime" - ] + "plugins": ["flow-runtime"] } } }