From 12164dabb9d075dd73b89132ed81ddecf225818f Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Fri, 17 Dec 2021 15:34:49 -0500 Subject: [PATCH] favicon stuff --- assets/images/favicon.svg | 8 +++++++- gulpfile.js | 21 ++++++++++++++++++++- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/assets/images/favicon.svg b/assets/images/favicon.svg index 8c75080f..cfc4efba 100644 --- a/assets/images/favicon.svg +++ b/assets/images/favicon.svg @@ -1 +1,7 @@ - + + + + + + + diff --git a/gulpfile.js b/gulpfile.js index f70733dd..44e75fae 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -100,7 +100,26 @@ function optimizeImages() { strip: true, }), imageminGifsicle(), - imageminSvgo(), + imageminSvgo({ + plugins: [ + { + name: "preset-default", + params: { + overrides: { + removeViewBox: false, + }, + }, + }, + { + name: "removeDimensions", + active: true, + }, + { + name: "sortAttrs", + active: true, + }, + ], + }), ]) ) )