0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00
penpot/scripts/build-worker.clj
2016-06-22 21:20:17 +03:00

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"))