-
Notifications
You must be signed in to change notification settings - Fork 0
/
shadow-cljs.edn
35 lines (31 loc) · 1.07 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
;; shadow-cljs configuration
{:dependencies
[#_[tick "0.4.31-alpha"]
[binaryage/oops "0.7.2"]
]
:nrepl
{:port 8202
:init-ns bb-passrates.shadow-repl}
:source-paths
["public/src/clj"
"dev"]
:builds
{:main
{:target :browser
#_#_:open-file-command
["emacsclient" "-n" ["+%s:%s" :line :column] :file]
:modules {:main {:init-fn bb-passrates.frontend.index/init}}
:dev {:output-dir "public/shadow-builds/main/js"
:asset-path "/main/js"
:compiler-options {:cross-chunk-method-motion false
:source-map true
:rewrite-polyfills true
:ouput-feature-set :es3
:pseudo-names true
:pretty-print true}}
:release {:output-dir "public/js"
:asset-path "js"
:compiler-options {:optimizations :advanced
:rewrite-polyfills true
:ouput-feature-set :es3
:cross-chunk-method-motion false}}}}}