diff --git a/shadow-cljs.edn b/shadow-cljs.edn index a52df8f..05d94b1 100644 --- a/shadow-cljs.edn +++ b/shadow-cljs.edn @@ -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"]]}