Skip to content

Commit 5a36552

Browse files
committed
snapshot
1 parent ef7e8a9 commit 5a36552

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

lib/4.06.1/bsb.ml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7606,7 +7606,6 @@ type entries_t = JsTarget of string | NativeTarget of string | BytecodeTarget of
76067606
type compilation_kind_t = Js | Bytecode | Native
76077607

76087608
type reason_react_jsx =
7609-
| Jsx_v2
76107609
| Jsx_v3
76117610
(* string option *)
76127611

@@ -11440,8 +11439,6 @@ let extract_reason_react_jsx (map : json_map) =
1144011439
match Map_string.find_opt m Bsb_build_schemas.react_jsx with
1144111440
| Some (Flo{loc; flo}) ->
1144211441
begin match flo with
11443-
| "2" ->
11444-
default := Some Jsx_v2
1144511442
| "3" ->
1144611443
default := Some Jsx_v3
1144711444
| _ -> Bsb_exception.errorf ~loc "Unsupported jsx version %s" flo
@@ -11957,7 +11954,7 @@ let merlin_file_gen ~per_proj_dir:(per_proj_dir:string)
1195711954
else "'%s -as-ppx -bs-jsx %d'"
1195811955
in
1195911956
Printf.sprintf fmt Bsb_global_paths.vendor_bsc
11960-
(match opt with Jsx_v2 -> 2 | Jsx_v3 -> 3)
11957+
(match opt with Jsx_v3 -> 3)
1196111958
)
1196211959
);
1196311960
Ext_list.iter external_includes (fun path ->
@@ -12830,8 +12827,6 @@ let make_custom_rules
1283012827
(match has_reason_react_jsx, reason_react_jsx with
1283112828
| false, _
1283212829
| _, None -> ()
12833-
| _, Some Jsx_v2
12834-
-> Ext_buffer.add_string buf " -bs-jsx 2"
1283512830
| _, Some Jsx_v3
1283612831
-> Ext_buffer.add_string buf " -bs-jsx 3"
1283712832
);

lib/4.06.1/unstable/bsb_native.ml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7612,7 +7612,6 @@ type entries_t = JsTarget of string | NativeTarget of string | BytecodeTarget of
76127612
type compilation_kind_t = Js | Bytecode | Native
76137613

76147614
type reason_react_jsx =
7615-
| Jsx_v2
76167615
| Jsx_v3
76177616
(* string option *)
76187617

@@ -11589,8 +11588,6 @@ let extract_reason_react_jsx (map : json_map) =
1158911588
match Map_string.find_opt m Bsb_build_schemas.react_jsx with
1159011589
| Some (Flo{loc; flo}) ->
1159111590
begin match flo with
11592-
| "2" ->
11593-
default := Some Jsx_v2
1159411591
| "3" ->
1159511592
default := Some Jsx_v3
1159611593
| _ -> Bsb_exception.errorf ~loc "Unsupported jsx version %s" flo
@@ -12106,7 +12103,7 @@ let merlin_file_gen ~per_proj_dir:(per_proj_dir:string)
1210612103
else "'%s -as-ppx -bs-jsx %d'"
1210712104
in
1210812105
Printf.sprintf fmt Bsb_global_paths.vendor_bsc
12109-
(match opt with Jsx_v2 -> 2 | Jsx_v3 -> 3)
12106+
(match opt with Jsx_v3 -> 3)
1211012107
)
1211112108
);
1211212109
Ext_list.iter external_includes (fun path ->
@@ -12979,8 +12976,6 @@ let make_custom_rules
1297912976
(match has_reason_react_jsx, reason_react_jsx with
1298012977
| false, _
1298112978
| _, None -> ()
12982-
| _, Some Jsx_v2
12983-
-> Ext_buffer.add_string buf " -bs-jsx 2"
1298412979
| _, Some Jsx_v3
1298512980
-> Ext_buffer.add_string buf " -bs-jsx 3"
1298612981
);

0 commit comments

Comments
 (0)