2023-11-24 18:17:20 +00:00
|
|
|
;; shadow-cljs configuration
|
|
|
|
{:deps true
|
|
|
|
|
2023-11-24 23:41:26 +00:00
|
|
|
:dev-http {8234 "target"}
|
|
|
|
|
2023-11-24 18:17:20 +00:00
|
|
|
:builds
|
|
|
|
{:node {:target :node-library
|
2023-12-24 22:08:02 +00:00
|
|
|
:output-to "target/js/ludus.js"
|
|
|
|
:exports {:run ludus.node/run}
|
|
|
|
:modules {:main {:entries [ludus.node]}}}
|
|
|
|
:module {:target :esm
|
|
|
|
:output-dir "target/js"
|
2024-01-19 22:49:26 +00:00
|
|
|
:modules {:ludus {:exports {run ludus.node/run test ludus.node/doug}}}
|
2023-12-24 22:08:02 +00:00
|
|
|
}
|
2023-11-24 18:17:20 +00:00
|
|
|
:browser {:target :browser
|
|
|
|
:output-dir "target/js"
|
2023-11-24 23:41:26 +00:00
|
|
|
:asset-path "target"
|
|
|
|
:modules {:main {:init-fn ludus.web/init}}}}}
|