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

19 lines
504 B
Clojure
Raw Normal View History

(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
2016-04-11 09:40:08 -05:00
:language-in :ecmascript6
:language-out :ecmascript5
:verbose true})
(println "... done. Elapsed" (/ (- (System/nanoTime) start) 1e9) "seconds"))