File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -7606,7 +7606,6 @@ type entries_t = JsTarget of string | NativeTarget of string | BytecodeTarget of
7606
7606
type compilation_kind_t = Js | Bytecode | Native
7607
7607
7608
7608
type reason_react_jsx =
7609
- | Jsx_v2
7610
7609
| Jsx_v3
7611
7610
(* string option *)
7612
7611
@@ -11440,8 +11439,6 @@ let extract_reason_react_jsx (map : json_map) =
11440
11439
match Map_string.find_opt m Bsb_build_schemas.react_jsx with
11441
11440
| Some (Flo{loc; flo}) ->
11442
11441
begin match flo with
11443
- | "2" ->
11444
- default := Some Jsx_v2
11445
11442
| "3" ->
11446
11443
default := Some Jsx_v3
11447
11444
| _ -> Bsb_exception.errorf ~loc "Unsupported jsx version %s" flo
@@ -11957,7 +11954,7 @@ let merlin_file_gen ~per_proj_dir:(per_proj_dir:string)
11957
11954
else "'%s -as-ppx -bs-jsx %d'"
11958
11955
in
11959
11956
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)
11961
11958
)
11962
11959
);
11963
11960
Ext_list.iter external_includes (fun path ->
@@ -12830,8 +12827,6 @@ let make_custom_rules
12830
12827
(match has_reason_react_jsx, reason_react_jsx with
12831
12828
| false, _
12832
12829
| _, None -> ()
12833
- | _, Some Jsx_v2
12834
- -> Ext_buffer.add_string buf " -bs-jsx 2"
12835
12830
| _, Some Jsx_v3
12836
12831
-> Ext_buffer.add_string buf " -bs-jsx 3"
12837
12832
);
Original file line number Diff line number Diff line change @@ -7612,7 +7612,6 @@ type entries_t = JsTarget of string | NativeTarget of string | BytecodeTarget of
7612
7612
type compilation_kind_t = Js | Bytecode | Native
7613
7613
7614
7614
type reason_react_jsx =
7615
- | Jsx_v2
7616
7615
| Jsx_v3
7617
7616
(* string option *)
7618
7617
@@ -11589,8 +11588,6 @@ let extract_reason_react_jsx (map : json_map) =
11589
11588
match Map_string.find_opt m Bsb_build_schemas.react_jsx with
11590
11589
| Some (Flo{loc; flo}) ->
11591
11590
begin match flo with
11592
- | "2" ->
11593
- default := Some Jsx_v2
11594
11591
| "3" ->
11595
11592
default := Some Jsx_v3
11596
11593
| _ -> Bsb_exception.errorf ~loc "Unsupported jsx version %s" flo
@@ -12106,7 +12103,7 @@ let merlin_file_gen ~per_proj_dir:(per_proj_dir:string)
12106
12103
else "'%s -as-ppx -bs-jsx %d'"
12107
12104
in
12108
12105
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)
12110
12107
)
12111
12108
);
12112
12109
Ext_list.iter external_includes (fun path ->
@@ -12979,8 +12976,6 @@ let make_custom_rules
12979
12976
(match has_reason_react_jsx, reason_react_jsx with
12980
12977
| false, _
12981
12978
| _, None -> ()
12982
- | _, Some Jsx_v2
12983
- -> Ext_buffer.add_string buf " -bs-jsx 2"
12984
12979
| _, Some Jsx_v3
12985
12980
-> Ext_buffer.add_string buf " -bs-jsx 3"
12986
12981
);
You can’t perform that action at this time.
0 commit comments