summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/.babelrc
diff options
context:
space:
mode:
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"
}