-
Notifications
You must be signed in to change notification settings - Fork 0
/
shadow-cljs.edn
45 lines (37 loc) · 1.65 KB
/
shadow-cljs.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
;; shadow-cljs configuration
{:deps {:aliases [:cljs :dev :cljs-dev]}
:dev-http {3000 {:roots ["resources/public" "frontend-target/dev/public"]
:proxy-url "http://localhost:3010"}}
:builds {:dev
{:target :browser
:output-dir "frontend-target/dev/public/js"
:asset-path "/js"
:compiler-options {:closure-defines {"re_frame.trace.trace_enabled_QMARK_" true}}
:modules
{:main {:entries [sweet-tooth.todo-example.frontend.core]}}
;; start a development http server on http://localhost:3000
:devtools
{:preloads [day8.re-frame-10x.preload]
:before-load sweet-tooth.todo-example.frontend.core/stop
:after-load sweet-tooth.todo-example.frontend.core/-main}}
:test
{:target :browser
:output-dir "frontend-target/test/public/js"
:asset-path "/js"
:modules
{:main {:entries [sweet-tooth.todo-example.frontend.core]}}}
:staging
{:target :browser
:output-dir "frontend-target/staging/public/js"
:asset-path "/js"
:compiler-options {:optimizations :advanced}
:modules
{:main {:entries [sweet-tooth.todo-example.frontend.core]}}}
:prod
{:target :browser
:output-dir "frontend-target/prod/public/js"
:asset-path "/js"
:compiler-options {:optimizations :advanced}
:modules
{:main {:entries [sweet-tooth.todo-example.frontend.core]}}}}
:nrepl {:middleware [refactor-nrepl.middleware/wrap-refactor]}}