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, + }, + ], + }), ]) ) )