aboutsummaryrefslogtreecommitdiff
path: root/js/dune
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2025-06-01 17:12:06 +0200
committerSébastien Dailly <sebastien@dailly.me>2025-06-14 10:58:01 +0200
commit2f18b8a33cabd0ea666781ba048d0174b4dc5031 (patch)
treeaacda421b89e8133e3c73942e9ede61283a5005c /js/dune
Initial commit
Diffstat (limited to 'js/dune')
-rw-r--r--js/dune23
1 files changed, 23 insertions, 0 deletions
diff --git a/js/dune b/js/dune
new file mode 100644
index 0000000..b9477f4
--- /dev/null
+++ b/js/dune
@@ -0,0 +1,23 @@
+(executable
+ (name content)
+ (libraries
+ brr
+ note
+ note.brr
+
+ operators
+ services_impl
+ js_handler
+ brr_string
+ )
+ (modes js)
+ (preprocess (pps js_of_ocaml-ppx))
+ (link_flags (:standard -no-check-prims))
+ (js_of_ocaml (flags :standard --opt 3 --target-env browser --disable genprim --disable debugger))
+ )
+
+(rule
+ (targets content.js)
+ (deps content.bc.js)
+ (action (copy %{deps} %{targets})))
+