0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 08:20:45 -05:00
penpot/frontend/scripts/build-worker.clj
2016-11-21 23:44:57 +01:00

20 lines
570 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
: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"))