0
Fork 0
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:
Andrey Antukh 2019-07-04 10:06:40 +02:00
parent d908cf566a
commit 32af3adf39

View file

@ -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"