We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As already mentioned in svgo gulp-svgmin does not respect the disabled "removeViewBox"-Plugin. My config looks like:
options : { plugins: [ { removeViewBox: false },{ addClassesToSVGElement: { classNames: ['svgo'] } } ], js2svg: { pretty: true } }
The class has been added to the svg element, but the viewbox unfortunately removed. Any ideas?
The text was updated successfully, but these errors were encountered:
The options are passed directly to SVGO, we don't do anything special here. Perhaps it has some trouble with your particular SVG input?
Sorry, something went wrong.
@ben-eb thx,known issue @ svgo.
Closing this in favour of svg/svgo#505
No branches or pull requests
As already mentioned in svgo gulp-svgmin does not respect the disabled "removeViewBox"-Plugin. My config looks like:
The class has been added to the svg element, but the viewbox unfortunately removed. Any ideas?
The text was updated successfully, but these errors were encountered: