aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/.babelrc
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/.babelrc')
-rw-r--r--openecomp-ui/.babelrc33
1 files changed, 24 insertions, 9 deletions
diff --git a/openecomp-ui/.babelrc b/openecomp-ui/.babelrc
index 7949c034d8..7b8d637641 100644
--- a/openecomp-ui/.babelrc
+++ b/openecomp-ui/.babelrc
@@ -1,14 +1,29 @@
{
- "presets": [["env", {
- "targets": {
- "browsers": ["last 2 versions", "Firefox >= 47"]
- }
- }], "react"],
+ "presets": [
+ [
+ "@babel/preset-env",
+ {
+ "targets": {
+ "browsers": [
+ "last 2 versions",
+ "Firefox >= 47"
+ ]
+ }
+ }
+ ],
+ "@babel/preset-react"
+ ],
"plugins": [
- "transform-object-rest-spread",
- "transform-class-properties",
- "transform-runtime",
- "transform-decorators-legacy"
+ "@babel/plugin-proposal-object-rest-spread",
+ "@babel/plugin-proposal-class-properties",
+ "@babel/plugin-transform-runtime",
+ "@babel/plugin-transform-modules-commonjs",
+ [
+ "@babel/plugin-proposal-decorators",
+ {
+ "legacy": true
+ }
+ ]
],
"sourceMap": "inline"
}