mirror of
https://github.com/penpot/penpot.git
synced 2026-05-29 19:58:09 +00:00
Revert "✨ Add bundled svgo library and expose it on common module"
This reverts commit 3877eccc2970d47c8e196f24cb8415918a69d658.
This commit is contained in:
parent
11df5ec15e
commit
3f3e3e8a81
@ -1,16 +0,0 @@
|
|||||||
;; This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
;; License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
;;
|
|
||||||
;; Copyright (c) KALEIDOS INC
|
|
||||||
|
|
||||||
(ns app.common.svg
|
|
||||||
#?(:cljs
|
|
||||||
(:require
|
|
||||||
["./svg_optimizer.js" :as svgo])))
|
|
||||||
|
|
||||||
#?(:cljs
|
|
||||||
(defn optimize
|
|
||||||
([input] (optimize input nil))
|
|
||||||
([input options]
|
|
||||||
(svgo/optimize input (clj->js options)))))
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user