Skip to content

test(melange): show melange.emit shortcoming with in-source promotion#13537

Merged
anmonteiro merged 1 commit intoocaml:mainfrom
anmonteiro:anmonteiro/show-multiple-melange-emit-shortcoming
Feb 5, 2026
Merged

test(melange): show melange.emit shortcoming with in-source promotion#13537
anmonteiro merged 1 commit intoocaml:mainfrom
anmonteiro:anmonteiro/show-multiple-melange-emit-shortcoming

Conversation

@anmonteiro
Copy link
Copy Markdown
Collaborator

if you have multiple melange.emit stanzas in the same directory, with different module systems but the same extension, the public libraries will compete for the same files in node_modules.

@anmonteiro anmonteiro added the melange Melange rules and generator label Feb 3, 2026
Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
@anmonteiro anmonteiro force-pushed the anmonteiro/show-multiple-melange-emit-shortcoming branch from c548cb1 to ad49ed1 Compare February 5, 2026 08:54
@anmonteiro anmonteiro merged commit d6fa44d into ocaml:main Feb 5, 2026
28 checks passed
@anmonteiro anmonteiro deleted the anmonteiro/show-multiple-melange-emit-shortcoming branch February 5, 2026 17:31
MisterDA pushed a commit to MisterDA/dune that referenced this pull request Feb 5, 2026
…on (ocaml#13537)

if you have multiple `melange.emit` stanzas in the same directory, with
different module systems but the same extension, the public libraries
will compete for the same files in `node_modules`.

Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

melange Melange rules and generator

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant