mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 20:18:28 +02:00
Fix build scripts (related to webworker).
This commit is contained in:
parent
94fc4d2b88
commit
8916a9b7ac
8 changed files with 56 additions and 46 deletions
|
@ -7,37 +7,24 @@
|
|||
|
||||
(ra/start-figwheel!
|
||||
{:figwheel-options {:css-dirs ["resources/public/css"]}
|
||||
:build-ids ["dev" "worker"]
|
||||
:build-ids ["dev"]
|
||||
:all-builds
|
||||
[{:id "dev"
|
||||
:figwheel {:on-jsload "uxbox.ui/init"}
|
||||
:source-paths ["src" "vendor"]
|
||||
:compiler {:main 'uxbox.core
|
||||
:asset-path "js"
|
||||
:parallel-build false
|
||||
:optimizations :none
|
||||
:closure-defines {"uxbox.repo.core.url"
|
||||
"https://test.uxbox.io/api"}
|
||||
:warnings {:ns-var-clash false}
|
||||
:pretty-print true
|
||||
: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}}]})
|
||||
:compiler
|
||||
{:main 'uxbox.core
|
||||
:asset-path "js"
|
||||
:parallel-build false
|
||||
:optimizations :none
|
||||
:closure-defines {"uxbox.repo.core.url"
|
||||
"https://test.uxbox.io/api"}
|
||||
:warnings {:ns-var-clash false}
|
||||
:pretty-print true
|
||||
:language-in :ecmascript6
|
||||
:language-out :ecmascript5
|
||||
:output-to "resources/public/js/main.js"
|
||||
:output-dir "resources/public/js"
|
||||
:verbose true}}]})
|
||||
|
||||
(ra/cljs-repl "dev")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue