This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,6 @@
(melange.emit
(target dist)
(alias mel)
(modules entry_module)
(emit_stdlib false)
(libraries parent))

View file

@ -0,0 +1,3 @@
(lang dune 3.8)
(using melange 0.1)

View file

@ -0,0 +1 @@
let () = Js.log (Parent.M_a.t)

View file

@ -0,0 +1,3 @@
(library
(modes melange)
(name leaf))

View file

@ -0,0 +1,4 @@
module Other = Other
let x = Other.t
let t = 1

View file

@ -0,0 +1,4 @@
(library
(modes melange)
(name parent)
(libraries leaf))

View file

@ -0,0 +1,5 @@
Test file unmangling with melange.emit that depends on a library, that depends on another library
$ dune build @mel
$ node _build/default/dist/entry_module.js
1