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"
|
|
|
|
:modules {:ludus {:exports {run ludus.node/run test ludus.node/run-test}}}
|
|
|
|
}
|
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}}}}}
|