diff --git a/demo/shared/js/dune b/demo/shared/js/dune index cbc2ed0c5..ea3c48974 100644 --- a/demo/shared/js/dune +++ b/demo/shared/js/dune @@ -3,6 +3,6 @@ (modes melange) (libraries reason-react) (preprocess - (pps melange.ppx browser_ppx reason-react-ppx))) + (pps melange.ppx browser_ppx -js reason-react-ppx))) (copy_files# "../native/lib/*.re") diff --git a/demo/shared/native/lib/MelRaw.re b/demo/shared/native/lib/MelRaw.re index 7200bc170..962fae5d6 100644 --- a/demo/shared/native/lib/MelRaw.re +++ b/demo/shared/native/lib/MelRaw.re @@ -32,4 +32,7 @@ let%browser_only initWebsocket: unit => unit = [%mel.raw console.debug("Live reload: WebSocket error:", event); }; } -|}]; +|} +]; + +let x = 22;