mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 06:58:58 -05:00
misc: use proper target prop on worker build
This commit is contained in:
parent
d908cf566a
commit
32af3adf39
1 changed files with 4 additions and 0 deletions
|
@ -49,6 +49,8 @@
|
|||
(api/build (api/inputs "src")
|
||||
(merge default-build-options
|
||||
(get-output-options name true ::path)
|
||||
(when (= name "worker")
|
||||
{:target :webworker})
|
||||
{:optimizations :advanced
|
||||
:static-fns true
|
||||
:elide-asserts true})))
|
||||
|
@ -58,6 +60,8 @@
|
|||
(api/build (api/inputs "src")
|
||||
(merge default-build-options
|
||||
(get-output-options name true true)
|
||||
(when (= name "worker")
|
||||
{:target :webworker})
|
||||
{:optimizations :none})))
|
||||
|
||||
(defmethod task "build-tests"
|
||||
|
|
Loading…
Add table
Reference in a new issue