diff --git a/svgo.config.js b/svgo.config.js index b8cec81..0cde31c 100644 --- a/svgo.config.js +++ b/svgo.config.js @@ -2,14 +2,11 @@ module.exports = { multipass: true, floatPrecision: 1, plugins: [ - { - name: 'removeViewBox', - active: false - }, { name: 'removeAttrs', params: { - attrs: '(color|data|fill-rule|font|opacity|paint|stroke|text|xml).*' + attrs: + '(color|data|fill-rule|font|maskUnits|opacity|paint|stroke|text).*' } }, 'convertStyleToAttrs', @@ -17,7 +14,7 @@ module.exports = { 'removeRasterImages', 'sortAttrs', 'removeStyleElement', - 'removeScriptElement', + 'removeScripts', 'removeDoctype', 'removeXMLProcInst', 'removeComments',