0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 08:20:45 -05:00
penpot/scripts/build-worker.clj
2016-04-11 17:40:08 +03:00

18 lines
504 B
Clojure

(require '[cljs.build.api :as b])
(println "Building ...")
(let [start (System/nanoTime)]
(b/build
(b/inputs "src" "vendor")
{:main 'uxbox.worker
:output-to "resources/public/js/worker.js"
:output-dir "resources/public/js/worker"
:asset-path "js"
:parallel-build false
:optimizations :simple
:static-fns true
:language-in :ecmascript6
:language-out :ecmascript5
:verbose true})
(println "... done. Elapsed" (/ (- (System/nanoTime) start) 1e9) "seconds"))