mirror of https://github.com/status-im/reagent.git
Add shadow-cljs dev setup
This commit is contained in:
parent
8de886d8b1
commit
e85e2bb056
|
@ -1,9 +1,15 @@
|
|||
{:source-paths ["src" "test"]
|
||||
:builds {:test {:target :karma
|
||||
:output-to "target/shadow-cljs/resources/public/js/karma.js"
|
||||
:output-dir "target/shadow-cljs/resources/public/js"
|
||||
:asset-path "js"
|
||||
:source-map true
|
||||
:compiler-options {:infer-externs :auto}
|
||||
:ns-regexp "(reagenttest\\.test.*|reagent\\..*-test)"}}
|
||||
:dependencies []}
|
||||
{:source-paths ["src" "test" "examples/todomvc/src" "examples/simple/src" "examples/geometry/src" "demo"]
|
||||
:dev-http {8090 {:roots ["site/public" "target/shadow-cljs/client/public" "classpath:public"]}}
|
||||
:builds
|
||||
{:client {:target :browser
|
||||
:output-dir "target/shadow-cljs/client/public/js"
|
||||
:asset-path "/js"
|
||||
:modules {:main {:entries [reagentdemo.dev]}}}
|
||||
:test {:target :karma
|
||||
:output-to "target/shadow-cljs/resources/public/js/karma.js"
|
||||
:output-dir "target/shadow-cljs/resources/public/js"
|
||||
:asset-path "js"
|
||||
:source-map true
|
||||
:compiler-options {:infer-externs :auto}
|
||||
:ns-regexp "(reagenttest\\.test.*|reagent\\..*-test)"}}
|
||||
:dependencies [[doo "0.1.11"]]}
|
||||
|
|
Loading…
Reference in New Issue