Browse Source

HUE-8794 [frontend] Prevent babel from trying to compact the parsers

Johan Ahlen 6 years ago
parent
commit
d7f9a158f0
1 changed files with 8 additions and 1 deletions
  1. 8 1
      .babelrc

+ 8 - 1
.babelrc

@@ -4,5 +4,12 @@
     ["module-resolver", {
       "root": ["./desktop/core/src/desktop/js"]
     }]
-  ]
+  ],
+  "overrides": [{
+    "test": "./desktop/core/src/desktop/js/parse/sqlAutocompleteParser.js",
+    "compact": false
+  },{
+    "test": "./desktop/core/src/desktop/js/parse/sqlSyntaxParser.js",
+    "compact": false
+  }]
 }