How to compile a library in jsoo that has a runtime?


I am using JSOO and I am depending on bigstringaf, which has a JSOO runtime. It used to be that packages specified in their ocamlfind META file linker options and I could do ocamlfind query -r -predicates 'javascript' -format '%(linkopts)' -separator ' ' $packages to pass to js_of_ocaml, but it looks like packages have moved to specifying a jsoo_runtime value in their META file.

What is the correct way to pass this information to js_of_ocaml if I am compiling by hand?

Thank you

See here.

Thank you! My ability to google utterly failed me, even when specifying very concrete terms in quotes.