Skip to content

Commit 7718d6b

Browse files
committed
Restore -bs-jsx-mode
1 parent 4c1d74d commit 7718d6b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/bsc/rescript_compiler_main.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ let buckle_script_flags : (string * Bsc_args.spec * string) array =
256256
Js_config.jsx_module := Js_config.jsx_module_of_string i;
257257
if is_generic then Js_config.jsx_version := Some Jsx_v4),
258258
"*internal* Set jsx module" );
259+
("-bs-jsx-mode", string_call ignore, "*internal* Set jsx mode, this is no longer used and is a no-op.");
259260
( "-bs-package-output",
260261
string_call Js_packages_state.update_npm_package_path,
261262
"*internal* Set npm-output-path: [opt_module]:path, for example: \

0 commit comments

Comments
 (0)