mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 15:06:38 +02:00
Add webworkers architecture (rcp).
This commit is contained in:
parent
b920342188
commit
051163c3ae
3 changed files with 69 additions and 3 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
(ra/start-figwheel!
|
||||
{:figwheel-options {:css-dirs ["resources/public/css"]}
|
||||
:build-ids ["dev"]
|
||||
:build-ids ["dev" "worker"]
|
||||
:all-builds
|
||||
[{:id "dev"
|
||||
:figwheel {:on-jsload "uxbox.ui/init"}
|
||||
|
@ -20,10 +20,24 @@
|
|||
"https://test.uxbox.io/api"}
|
||||
:warnings {:ns-var-clash false}
|
||||
:pretty-print true
|
||||
:language-in :ecmascript5
|
||||
:language-in :ecmascript6
|
||||
:language-out :ecmascript5
|
||||
:output-to "resources/public/js/main.js"
|
||||
:output-dir "resources/public/js"
|
||||
:verbose true}}
|
||||
|
||||
{:id "worker"
|
||||
:source-paths ["src" "vendor"]
|
||||
:compiler {:main 'uxbox.worker
|
||||
:asset-path "js"
|
||||
:parallel-build false
|
||||
:optimizations :simple
|
||||
:warnings {:ns-var-clash false}
|
||||
:pretty-print true
|
||||
:static-fns true
|
||||
:language-in :ecmascript6
|
||||
:language-out :ecmascript5
|
||||
:output-to "resources/public/js/worker.js"
|
||||
:verbose true}}]})
|
||||
|
||||
(ra/cljs-repl)
|
||||
(ra/cljs-repl "dev")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue