From 99e0ada0afc320d6eba66f795e0d15727f8065bf Mon Sep 17 00:00:00 2001 From: JohnAlbin Date: Sun, 23 Oct 2022 20:42:34 +0800 Subject: [PATCH] Remove the removeViewBox plugin from the default plugins list Fixes #1128 --- README.md | 9 ++++----- plugins/preset-default.js | 2 -- plugins/removeDimensions.js | 2 +- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 1009928f7..d00778ebb 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,6 @@ Default preset includes the following list of plugins: - removeUnknownsAndDefaults - removeNonInheritableGroupAttrs - removeUselessStrokeAndFill -- removeViewBox - cleanupEnableBackground - removeHiddenElems - removeEmptyText @@ -179,8 +178,8 @@ const config = await loadConfig(configFile, cwd); ## Built-in plugins -| Plugin | Description | Default | -| ------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | +| Plugin | Description | Default | +|-------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|------------| | [cleanupAttrs](https://github.com/svg/svgo/blob/main/plugins/cleanupAttrs.js) | cleanup attributes from newlines, trailing, and repeating spaces | `enabled` | | [mergeStyles](https://github.com/svg/svgo/blob/main/plugins/mergeStyles.js) | merge multiple style elements into one | `enabled` | | [inlineStyles](https://github.com/svg/svgo/blob/main/plugins/inlineStyles.js) | move and merge styles from `