From 0f3d80d3ac7e07670b26e0ec4ae47036723b12ef Mon Sep 17 00:00:00 2001 From: Cyrus Omar Date: Fri, 9 Aug 2024 20:17:59 -0400 Subject: [PATCH] don't need dune code in README --- README.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/README.md b/README.md index 7cfd06cc6a..a15bdd424e 100644 --- a/README.md +++ b/README.md @@ -185,16 +185,7 @@ helper functions for printing and serializing this data. For a type named `t`, t for a type named something else like `q`, it will be `show_q`. #### Source Maps -Source maps for `js_of_ocaml` should be configured when making locally with the dev profile (`make`). This is configured using the env stanzas present in the `dune` files for each top-level directory: -```dune -(env - (dev - (js_of_ocaml - (flags :standard --debuginfo --noinline --dynlink --linkall --sourcemap))) - (release - (js_of_ocaml - (flags :standard)))) -``` +Source maps for `js_of_ocaml` should be configured when making locally with the dev profile (`make`). This is configured using the env stanzas present in the `dune` files for each top-level directory. Since source maps are generated browser developer tools should show reason code in the debugger and source tree. Stack traces should also include reason line numbers.