We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 67c554d + 0803d0e commit 54d80edCopy full SHA for 54d80ed
jscomp/bsb/bsb_parse_sources.ml
@@ -491,9 +491,13 @@ let clean_re_js root =
491
| None -> Set_string.empty
492
in
493
let gentype_language =
494
- match Map_string.find_opt map Bsb_build_schemas.language with
+ match Map_string.find_opt map Bsb_build_schemas.gentypeconfig with
495
| None -> ""
496
- | Some (Str {str}) -> str
+ | Some (Obj { map }) ->
497
+ (match Map_string.find_opt map Bsb_build_schemas.language with
498
+ | None -> ""
499
+ | Some (Str {str}) -> str
500
+ | Some _ -> "")
501
| Some _ -> ""
502
503
Ext_option.iter (Map_string.find_opt map Bsb_build_schemas.sources) begin fun config ->
0 commit comments