Skip to content

Commit e0a2be4

Browse files
committed
fix Js_config input error
1 parent fb2a60b commit e0a2be4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jscomp/main/rescript_compiler_main.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ let buckle_script_flags : (string * Bsc_args.spec * string) array =
281281

282282
"-bs-jsx-module", string_call (fun i ->
283283
(if i <> "react" then Bsc_args.bad_arg (" Not supported jsx-module : " ^ i));
284-
Js_config.jsx_mode := i),
284+
Js_config.jsx_module := i),
285285
"*internal* Set jsx module";
286286

287287
"-bs-jsx-mode", string_call (fun i ->

0 commit comments

Comments
 (0)