Skip to content

Commit e672a48

Browse files
committed
reflect reviewer's comments and changes by ocaml#7926
Signed-off-by: Haochen Kotoi-Xie <[email protected]>
1 parent 3b1f6ac commit e672a48

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

doc/melange.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,8 @@ Finally, add a source file to build:
5757
5858
echo 'Js.log "hello from melange"' > hello.ml
5959
60-
After running ``dune build output/hello.js`` or ``dune build @melange``
61-
(by default, all ``melange.emit`` stanzas will attach their targets to
62-
the ``melange`` alias),
63-
Dune produces the following file structure:
60+
After running ``dune build output/hello.js``, Dune produces the following
61+
file structure:
6462

6563
.. code::
6664
@@ -150,6 +148,10 @@ The resulting layout in ``_build/default/output`` will be as follows:
150148
is explicitly defined in the stanza, the targets from this stanza will
151149
be excluded from the ``melange`` alias.
152150

151+
- As per Dune's convention, all targets declared using this stanza will also
152+
be attached to the Dune's default `@all` alias, regardless of whether
153+
the `(alias ...)` field is present.
154+
153155
- ``(module_systems <module_systems>)`` specifies the JavaScript import and
154156
export format used. The values allowed for ``<module_systems>`` are ``es6``
155157
and ``commonjs``.

0 commit comments

Comments
 (0)