Skip to content

Commit

Permalink
Remove the removeViewBox plugin from the default plugins list.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnAlbin committed Nov 24, 2021
1 parent b37d90e commit ea0f5d2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ Default preset includes the following list of plugins:
- removeUnknownsAndDefaults
- removeNonInheritableGroupAttrs
- removeUselessStrokeAndFill
- removeViewBox
- cleanupEnableBackground
- removeHiddenElems
- removeEmptyText
Expand Down
2 changes: 1 addition & 1 deletion plugins/removeViewBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports.type = 'visitor';
exports.name = 'removeViewBox';
exports.active = true;
exports.active = false;
exports.description = 'removes viewBox attribute when possible';

const viewBoxElems = ['svg', 'pattern', 'symbol'];
Expand Down

0 comments on commit ea0f5d2

Please sign in to comment.