mirror of
https://github.com/penpot/penpot.git
synced 2026-02-14 23:52:56 +00:00
Revert "✨ Add bundled svgo library and expose it on common module"
This reverts commit 3877eccc29.
This commit is contained in:
@@ -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
Reference in New Issue
Block a user