generated from FiV0/clj-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshadow-cljs.edn
50 lines (41 loc) · 1.54 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
46
47
48
49
50
{:deps {:aliases [:cljs :dev]}
;; TODO problems with clojure-mode
;; :source-paths ["src"]
;; :dependencies [[re-frame/re-frame "1.4.2"]
;; [com.lambdaisland/glogi "1.3.169"]
;; [applied-science/js-interop "0.4.2"]
;; [cider/cider-nrepl "0.44.0"]
;; [refactor-nrepl/refactor-nrepl "3.9.0"]]
:nrepl {:middleware [cider.nrepl/cider-middleware
refactor-nrepl.middleware/wrap-refactor]}
:dev-http {8020 "resources/public"
8021 "out/test"}
:builds
{:test
{:target :browser-test
:test-dir "out/test"}
:app
{:target :browser
:modules {:app {:entries [xt-play.app]}}
;; :preloads [devtools.preload]
:output-dir "resources/public/js/compiled"
:asset-path "/public/js/compiled"
:dev {:compiler-options {:devcards true}}
:release {:compiler-options {:warnings-as-errors true
:warnings {:redef-in-file false}
:closure-defines {goog.DEBUG false
goog.debug.LOGGING_ENABLED true}}}
:js-options {:resolve
{"react" {:export-globals ["React"]}
"react-dom" {:export-globals ["ReactDOM"]}}}
:devtools {:repl-pprint true}}}
;; TODO understand
:cache-blockers #{}}
#_{:builds
{:app
{:target :browser
:output-dir "public/js"
:asset-path "/js"
:modules
{:main ; becomes public/js/main.js
{:init-fn starter.browser/init}}}}}