summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/.babelrc
diff options
context:
space:
mode:
authorsvishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>2018-01-11 14:39:45 +0200
committersvishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>2018-01-11 14:39:54 +0200
commit1eb66b78d3b1f1fc60a82ce6dbd16b12f2845e9a (patch)
treec21317aaef78791a35b48e102dce2a9b350d608a /openecomp-ui/.babelrc
parent16aeffbb7b864335075aa7159e5a997b173b5f80 (diff)
React version upgrade
Issue-ID: SDC-894 Change-Id: I7c200a4b0b1d09a8fec638906db4258cafe252b5 Signed-off-by: svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>
Diffstat (limited to 'openecomp-ui/.babelrc')
-rw-r--r--openecomp-ui/.babelrc13
1 files changed, 8 insertions, 5 deletions
diff --git a/openecomp-ui/.babelrc b/openecomp-ui/.babelrc
index a902be2cfc..378bcda37d 100644
--- a/openecomp-ui/.babelrc
+++ b/openecomp-ui/.babelrc
@@ -1,13 +1,16 @@
{
- "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",
- "transform-decorators-legacy"
+ "transform-decorators-legacy",
+ "transform-runtime",
+ "react-hot-loader/babel"
],
"sourceMap": "inline"
}