0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 00:40:30 -05:00
penpot/scripts/dist-worker.clj

21 lines
536 B
Clojure
Raw Normal View History

(require '[cljs.build.api :as b])
(println "Building ...")
(let [start (System/nanoTime)]
(b/build
2016-06-22 13:20:17 -05:00
(b/inputs "src")
{:main 'uxbox.worker
:output-to "dist/js/worker.js"
:source-map "dist/js/worker.js.map"
:output-dir "dist/js/worker"
:asset-path "js"
:parallel-build true
:optimizations :advanced
:static-fns true
2016-06-14 15:57:52 -05:00
:pretty-print false
:language-in :ecmascript6
:language-out :ecmascript5
:verbose true})
(println "... done. Elapsed" (/ (- (System/nanoTime) start) 1e9) "seconds"))