mirror of
https://github.com/penpot/penpot.git
synced 2025-06-01 10:01:41 +02:00
Improve and adapt build scripts for new view app.
This commit is contained in:
parent
3d72c53f02
commit
c0cc1d2b81
7 changed files with 56 additions and 12 deletions
|
@ -5,15 +5,14 @@
|
|||
{:figwheel-options {:css-dirs ["resources/public/css"]
|
||||
:server-port 3449
|
||||
:server-ip "0.0.0.0"}
|
||||
:build-ids ["main", "preview"]
|
||||
:build-ids ["main", "view"]
|
||||
:all-builds
|
||||
[{:id "main"
|
||||
:figwheel {:on-jsload "uxbox.main.ui/init"}
|
||||
:source-paths ["src" "vendor"]
|
||||
:compiler
|
||||
{:main 'uxbox.main
|
||||
:asset-path "js"
|
||||
:parallel-build true
|
||||
:parallel-build false
|
||||
:optimizations :none
|
||||
:closure-defines {"uxbox.common.constants.url"
|
||||
"https://test.uxbox.io/api"}
|
||||
|
@ -21,7 +20,25 @@
|
|||
:language-in :ecmascript6
|
||||
:language-out :ecmascript5
|
||||
:output-to "resources/public/js/main.js"
|
||||
:output-dir "resources/public/js"
|
||||
:output-dir "resources/public/js/main"
|
||||
:asset-path "js/main"
|
||||
:verbose true}}
|
||||
|
||||
{:id "view"
|
||||
:figwheel {:on-jsload "uxbox.view.ui/init"}
|
||||
:source-paths ["src" "vendor"]
|
||||
:compiler
|
||||
{:main 'uxbox.view
|
||||
:parallel-build false
|
||||
:optimizations :none
|
||||
:closure-defines {"uxbox.common.constants.url"
|
||||
"https://test.uxbox.io/api"}
|
||||
:warnings {:ns-var-clash false}
|
||||
:language-in :ecmascript6
|
||||
:language-out :ecmascript5
|
||||
:output-to "resources/public/view/js/view.js"
|
||||
:output-dir "resources/public/view/js/view"
|
||||
:asset-path "js/view"
|
||||
:verbose true}}
|
||||
]})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue