(executable (name script) (libraries script_state script_event ) (modes js) (modules script) (preprocess (pps ppx_hash js_of_ocaml-ppx)) (link_flags (:standard -no-check-prims)) ) (rule (targets script.js) (deps script.bc.js) (action (copy %{deps} %{targets}))) (executable (name worker) (modules worker) (libraries js_of_ocaml shapes script_path worker_messages outline ) (modes js) (preprocess (pps ppx_hash js_of_ocaml-ppx)) (link_flags (:standard -no-check-prims)) ) (rule (targets worker.js) (deps worker.bc.js) (action (copy %{deps} %{targets})))