-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathshadow-cljs.edn
41 lines (38 loc) · 3.1 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
{:deps {:aliases [:provided :dev :electron :embed]}
:builds {:workspaces {:target nubank.workspaces.shadow-cljs.target
:ns-regexp "-(test|cards)$"
:output-dir "workspaces/assets/js"
:asset-path "/js"
:compiler-options {:output-feature-set :es8}
;:dev {:compiler-options {:external-config {:guardrails {:throw? false}}}}
:devtools {:preloads [devtools.preload]
:http-root "workspaces/assets"
:http-port 8086}}
:embed {:target :browser
:output-dir "shells/embed/js"
:asset-path "/js"
:compiler-options {:output-feature-set :es8}
:modules {:main {:entries [com.wsscode.pathom.viz.embed.main]}}
:devtools {:preloads [devtools.preload]
:http-root "shells/embed"
:http-port 8087}}
:electron-background {:target :node-script
:main com.wsscode.pathom.viz.electron.background.main/init
:dev { ;:compiler-options {:external-config {:guardrails {:throw? false}}}
:closure-defines {com.wsscode.pathom.viz.electron.background.main/DEV true}}
:compiler-options {:optimizations :simple}
:output-to "shells/electron/js/background/main.js"}
:electron-renderer {:target :browser
:modules {:shared {:entries []}
:main {:entries [com.wsscode.pathom.viz.electron.renderer.main]
:depends-on #{:shared}}
:worker {:entries [com.wsscode.pathom.viz.electron.renderer.worker]
:web-worker true
:depends-on #{:shared}}}
;:dev {:compiler-options {:external-config {:guardrails {:throw? false}}}}
:devtools {:preloads [devtools.preload com.fulcrologic.fulcro.inspect.websocket-preload
com.fulcrologic.fulcro.inspect.dom-picker-preload]}
:compiler-options {:optimizations :simple
:output-feature-set :es8}
:output-dir "shells/electron/js/renderer"
:asset-path "js/renderer"}}}