mirror of
https://github.com/penpot/penpot.git
synced 2025-02-21 14:26:27 -05:00
🐛 Remove plugin data from binfile v3 export
This commit is contained in:
parent
b800fcafb4
commit
ac33df2054
1 changed files with 1 additions and 6 deletions
|
@ -248,7 +248,6 @@
|
|||
|
||||
data (:data file)
|
||||
typographies (:typographies data)
|
||||
plugins-data (:plugin-data data)
|
||||
components (:components data)
|
||||
colors (:colors data)
|
||||
|
||||
|
@ -322,11 +321,7 @@
|
|||
(doseq [[id object] typographies]
|
||||
(let [path (str "files/" file-id "/typographies/" id ".json")
|
||||
color (encode-typography object)]
|
||||
(write-entry! output path color)))
|
||||
|
||||
(when-let [data (not-empty plugins-data)]
|
||||
(let [path (str "files/" file-id "/plugin-data.json")]
|
||||
(write-entry! output path data)))))
|
||||
(write-entry! output path color)))))
|
||||
|
||||
(defn- export-files
|
||||
[{:keys [::ids ::include-libraries ::output] :as cfg}]
|
||||
|
|
Loading…
Add table
Reference in a new issue