scriptex/svgo-viewbox

This module crop the files?

danielchicote opened this issue · 2 comments

Can this module remove the white space around the document?
Svg-autocrop can do this, but it saves small white space arond.

@danielchicote No, this module only adds the viewBox attribute based on width and height attributes found on the <svg>.

It also adds unique IDs where needed (useful when you create SVG sprites and have a lot of masks for example).

Do you think that cropping functionality should be part of the features provided by this module?

@danielchicote is there anything you'd like to discuss here? If not, please feel free to close the issue.