Browse Source

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

Johan Ahlen 6 năm trước cách đây
mục cha
commit
d7f9a158f0
1 tập tin đã thay đổi với 8 bổ sung1 xóa
  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
+  }]
 }