mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 08:50:57 -05:00
20 lines
536 B
Clojure
20 lines
536 B
Clojure
(require '[cljs.build.api :as b])
|
|
|
|
(println "Building ...")
|
|
|
|
(let [start (System/nanoTime)]
|
|
(b/build
|
|
(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
|
|
:pretty-print false
|
|
:language-in :ecmascript6
|
|
:language-out :ecmascript5
|
|
:verbose true})
|
|
(println "... done. Elapsed" (/ (- (System/nanoTime) start) 1e9) "seconds"))
|