mirror of
https://github.com/penpot/penpot.git
synced 2025-06-13 22:51:41 +02: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)
|
data (:data file)
|
||||||
typographies (:typographies data)
|
typographies (:typographies data)
|
||||||
plugins-data (:plugin-data data)
|
|
||||||
components (:components data)
|
components (:components data)
|
||||||
colors (:colors data)
|
colors (:colors data)
|
||||||
|
|
||||||
|
@ -322,11 +321,7 @@
|
||||||
(doseq [[id object] typographies]
|
(doseq [[id object] typographies]
|
||||||
(let [path (str "files/" file-id "/typographies/" id ".json")
|
(let [path (str "files/" file-id "/typographies/" id ".json")
|
||||||
color (encode-typography object)]
|
color (encode-typography object)]
|
||||||
(write-entry! output path color)))
|
(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)))))
|
|
||||||
|
|
||||||
(defn- export-files
|
(defn- export-files
|
||||||
[{:keys [::ids ::include-libraries ::output] :as cfg}]
|
[{:keys [::ids ::include-libraries ::output] :as cfg}]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue