From aa2eece0e8559be66454b757cae4bbccb59ea828 Mon Sep 17 00:00:00 2001 From: svishnev Date: Thu, 18 Jan 2018 17:52:06 +0200 Subject: react-version-downgrade Issue-ID: SDC-943 Change-Id: Ief0b0cf4f21a8c739521ecd869b48f8ad69fcb0f Signed-off-by: svishnev --- openecomp-ui/.babelrc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'openecomp-ui/.babelrc') diff --git a/openecomp-ui/.babelrc b/openecomp-ui/.babelrc index 378bcda37d..1545202a4a 100644 --- a/openecomp-ui/.babelrc +++ b/openecomp-ui/.babelrc @@ -1,15 +1,13 @@ { - "presets": [["env", { - "targets": { - "browsers": ["last 2 versions", "Firefox >= 47"] - } - }],"react"], + "presets": [["es2015", { "modules": false }],"stage-0", "react"], "plugins": [ + "transform-es2015-modules-commonjs", + "transform-es2015-destructuring", + "transform-es2015-spread", "transform-object-rest-spread", "transform-class-properties", "transform-runtime", "transform-decorators-legacy", - "transform-runtime", "react-hot-loader/babel" ], "sourceMap": "inline" -- cgit 1.2.3-korg