DOKK / manpages / debian 11 / js-of-ocaml / js_of_ocaml-link.1.en
JS_OF_OCAML-LINK(1) Js_of_ocaml Manual JS_OF_OCAML-LINK(1)

js_of_ocaml-link - Js_of_ocaml linker

js_of_ocaml link [OPTION]... [JS_FILES]...

js_of_ocaml-link is a JavaScript linker. It can concatenate multiple JavaScript files keeping sourcemap information.

Link JavaScript files [JS_FILES].

--help[=FMT] (default=auto)
Show this help in format FMT. The value FMT must be one of `auto', `pager', `groff' or `plain'. With `auto', the format is `pager` or `plain' whenever the TERM env var is `dumb' or undefined.
-o FILE
Set output file name to [FILE].
--resolve-sourcemap-url=VAL (absent=false)
Resolve source map url.
--source-map-inline
Inline sourcemap in the generated JavaScript.
--source-map-root=VAL
root dir for source map.
--sourcemap, --source-map
Generate source map.
--version
Show version information.

Bugs are tracked on github at https://github.com/ocsigen/js_of_ocaml/issues.

ocaml(1)

Jerome Vouillon, Hugo Heuzard.

Copyright (C) 2010-2020.

js_of_ocaml is free software, you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, with linking exception; either version 2.1 of the License, or (at your option) any later version.

Js_of_ocaml 3.8.0