mirror of
https://github.com/penpot/penpot.git
synced 2025-07-27 22:47:14 +02:00
🎉 Add feature flag for wasm render
This commit is contained in:
parent
03acfc2b3c
commit
e3268739ed
3 changed files with 11 additions and 7 deletions
|
@ -10,12 +10,13 @@
|
|||
[app.common.data.macros :as dm]
|
||||
[app.common.types.shape.impl :as ctsi]
|
||||
[app.common.uuid :as uuid]
|
||||
[app.config :as cf]
|
||||
[app.main.features :as features]
|
||||
[app.main.store :as st]
|
||||
[app.util.object :as obj]
|
||||
[promesa.core :as p]))
|
||||
|
||||
(def enabled?
|
||||
(contains? cf/flags :render-wasm))
|
||||
(features/active-feature? @st/state "render-wasm/v1"))
|
||||
|
||||
(set! app.common.types.shape.impl/enabled-wasm-ready-shape enabled?)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue