19 lines
552 B
Clojure
19 lines
552 B
Clojure
;; shadow-cljs configuration
|
|
{:deps true
|
|
|
|
:dev-http {8234 "target"}
|
|
|
|
:builds
|
|
{:node {:target :node-library
|
|
: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/doug}}}
|
|
}
|
|
:browser {:target :browser
|
|
:output-dir "target/js"
|
|
:asset-path "target"
|
|
:modules {:main {:init-fn ludus.web/init}}}}}
|