Pārlūkot izejas kodu

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

Johan Ahlen 6 gadi atpakaļ
vecāks
revīzija
d7f9a158f0
1 mainītis faili ar 8 papildinājumiem un 1 dzēšanām
  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
+  }]
 }