Quantcast
Channel: OCaml - Topics tagged dune
Viewing all articles
Browse latest Browse all 535

Dune: changing `js_of_ocaml link` flags

$
0
0

By default in the dev profile, dune runs js_of_ocaml link with the --source-map-inline flag. I want to disable this, but I can’t seem to find a way to change the flags sent to link (just the main compilation step).

This isn’t a problem in release mode because only a single compilation step is used, but I would prefer not to have to build with the release profile every time if possible.

Is there a way to change the flags passed to the link stage of js_of_ocaml?

5 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 535

Trending Articles