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,3 @@
let buy_it: Lib.A.t = "buy it"
let () = Js.log buy_it

View file

@ -0,0 +1,5 @@
(melange.emit
(target output)
(alias mel)
(emit_stdlib false)
(libraries lib))

View file

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

View file

@ -0,0 +1,4 @@
(library
(name lib)
(modules_without_implementation a)
(modes melange))

View file

@ -0,0 +1,6 @@
Test melange libs flow when using `modules_without_implementation` stanza
Build js files
$ dune build @mel
$ node _build/default/output/b.js
buy it