aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/.babelrc
diff options
context:
space:
mode:
authorsvishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>2018-01-24 12:14:59 +0200
committerAvi Gaffa <avi.gaffa@amdocs.com>2018-01-25 11:01:08 +0000
commit9f25b3b3b57a5673b597a5b344689c31a3628d62 (patch)
treee6ecf814edb982b41acb293c0bbd5592e13f085d /openecomp-ui/.babelrc
parentae4ab937ea76cbd15dfb572d67ddd7d672503336 (diff)
babel preset update in openecom-ui
Issue-ID: SDC-961 Change-Id: Id9e31af24dcb67b11e9c47fbeee94af8c7b123be Signed-off-by: svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>
Diffstat (limited to 'openecomp-ui/.babelrc')
-rw-r--r--openecomp-ui/.babelrc9
1 files changed, 5 insertions, 4 deletions
diff --git a/openecomp-ui/.babelrc b/openecomp-ui/.babelrc
index 1545202a4a..054d6c70b7 100644
--- a/openecomp-ui/.babelrc
+++ b/openecomp-ui/.babelrc
@@ -1,9 +1,10 @@
{
- "presets": [["es2015", { "modules": false }],"stage-0", "react"],
+ "presets": [["env", {
+ "targets": {
+ "browsers": ["last 2 versions", "Firefox >= 47"]
+ }
+ }], "react"],
"plugins": [
- "transform-es2015-modules-commonjs",
- "transform-es2015-destructuring",
- "transform-es2015-spread",
"transform-object-rest-spread",
"transform-class-properties",
"transform-runtime",