File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff 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 ``.
You can’t perform that action at this time.
0 commit comments