mirror of
https://github.com/penpot/penpot.git
synced 2025-05-09 22:36:39 +02:00
Update scripts.
This commit is contained in:
parent
730bbba2b9
commit
5a167ae031
11 changed files with 47 additions and 10 deletions
18
frontend/scripts/watch-main.clj
Normal file
18
frontend/scripts/watch-main.clj
Normal file
|
@ -0,0 +1,18 @@
|
|||
(require '[cljs.build.api :as b])
|
||||
|
||||
(b/watch
|
||||
(b/inputs "src")
|
||||
{:main 'uxbox.main
|
||||
:parallel-build false
|
||||
:output-to "resources/public/js/main.js"
|
||||
:output-dir "resources/public/js/main"
|
||||
:closure-defines {"uxbox.config.url" "https://test.uxbox.io/api"
|
||||
"uxbox.config.viewurl" "https://test.uxbox.io/view/"}
|
||||
:optimizations :advanced
|
||||
:externs ["externs/main.js"]
|
||||
:static-fns true
|
||||
:elide-asserts true
|
||||
:pretty-print false
|
||||
:language-in :ecmascript6
|
||||
:language-out :ecmascript5
|
||||
:verbose true})
|
Loading…
Add table
Add a link
Reference in a new issue