Skip to content

Commit 72a7bf5

Browse files
committed
adapt ninja config to use react ppx from upstream syntax submodule
1 parent 25753ed commit 72a7bf5

File tree

3 files changed

+3
-980
lines changed

3 files changed

+3
-980
lines changed

jscomp/syntax/ppx_entry.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ let rewrite_signature (ast : Parsetree.signature) : Parsetree.signature =
2929
Ast_config.iter_on_bs_config_sigi ast;
3030
let ast =
3131
match !Js_config.jsx_version with
32-
| 3 -> Reactjs_jsx_ppx_v3.rewrite_signature ast
32+
| 3 -> Reactjs_jsx_ppx.rewrite_signature ast
3333
| _ -> ast
3434
(* react-jsx ppx relies on built-in ones like `##` *)
3535
in
@@ -48,7 +48,7 @@ let rewrite_implementation (ast : Parsetree.structure) : Parsetree.structure =
4848
Ast_config.iter_on_bs_config_stru ast ;
4949
let ast =
5050
match !Js_config.jsx_version with
51-
| 3 -> Reactjs_jsx_ppx_v3.rewrite_implementation ast
51+
| 3 -> Reactjs_jsx_ppx.rewrite_implementation ast
5252
| _ -> ast
5353
in
5454
if !Js_config.no_builtin_ppx then ast else

0 commit comments

Comments
 (0)