diff --git a/docs/03-plugins/removeViewBox.mdx b/docs/03-plugins/removeViewBox.mdx index dedbc9155..e917eeb9c 100644 --- a/docs/03-plugins/removeViewBox.mdx +++ b/docs/03-plugins/removeViewBox.mdx @@ -2,7 +2,6 @@ title: removeViewBox svgo: pluginId: removeViewBox - defaultPlugin: true --- Removes the [`viewBox`](https://developer.mozilla.org/docs/Web/SVG/Attribute/viewBox) attribute where it matches the documents width and height. diff --git a/plugins/preset-default.js b/plugins/preset-default.js index 5291ab6c2..1e6a94804 100644 --- a/plugins/preset-default.js +++ b/plugins/preset-default.js @@ -16,7 +16,6 @@ import * as convertColors from './convertColors.js'; import * as removeUnknownsAndDefaults from './removeUnknownsAndDefaults.js'; import * as removeNonInheritableGroupAttrs from './removeNonInheritableGroupAttrs.js'; import * as removeUselessStrokeAndFill from './removeUselessStrokeAndFill.js'; -import * as removeViewBox from './removeViewBox.js'; import * as cleanupEnableBackground from './cleanupEnableBackground.js'; import * as removeHiddenElems from './removeHiddenElems.js'; import * as removeEmptyText from './removeEmptyText.js'; @@ -56,7 +55,6 @@ const presetDefault = createPreset({ removeUnknownsAndDefaults, removeNonInheritableGroupAttrs, removeUselessStrokeAndFill, - removeViewBox, cleanupEnableBackground, removeHiddenElems, removeEmptyText, diff --git a/plugins/removeDimensions.js b/plugins/removeDimensions.js index d98f5dd44..fb05296a5 100644 --- a/plugins/removeDimensions.js +++ b/plugins/removeDimensions.js @@ -1,6 +1,6 @@ export const name = 'removeDimensions'; export const description = - 'removes width and height in presence of viewBox (opposite to removeViewBox, disable it first)'; + 'removes width and height in presence of viewBox (opposite to removeViewBox)'; /** * Remove width/height attributes and add the viewBox attribute if it's missing