mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 00:40:30 -05:00
21 lines
606 B
Clojure
21 lines
606 B
Clojure
(require '[cljs.build.api :as b])
|
|
|
|
(println "Building ...")
|
|
|
|
(let [start (System/nanoTime)]
|
|
(b/build
|
|
(b/inputs "src")
|
|
{:main 'uxbox.worker
|
|
:parallel-build false
|
|
:warnings {:ns-var-clash false}
|
|
:output-to "resources/public/js/worker.js"
|
|
:source-map "resources/public/js/worker.js.map"
|
|
:output-dir "resources/public/js/worker"
|
|
:asset-path "js"
|
|
:optimizations :simple
|
|
:static-fns true
|
|
:language-in :ecmascript6
|
|
:language-out :ecmascript5
|
|
:pretty-print true
|
|
:verbose true})
|
|
(println "... done. Elapsed" (/ (- (System/nanoTime) start) 1e9) "seconds"))
|