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
I have removeViewBox: false in my .svgo.yml but this plugin still removes viewBox attribute.
removeViewBox: false
Full .svgo.yml in my workspace root directory:
multipass: true full: true plugins: - removeDoctype: true - removeXMLProcInst: true - removeComments: true - removeMetadata: true - removeXMLNS: true - removeEditorsNSData: true - cleanupAttrs: true - inlineStyles: true - minifyStyles: true - convertStyleToAttrs: true - cleanupIDs: true - prefixIds: true - removeRasterImages: true - removeUselessDefs: true - cleanupNumericValues: true - cleanupListOfValues: true - convertColors: true - removeUnknownsAndDefaults: true - removeNonInheritableGroupAttrs: true - removeUselessStrokeAndFill: true - removeViewBox: false - cleanupEnableBackground: true - removeHiddenElems: true - removeEmptyText: true - convertShapeToPath: true - convertEllipseToCircle: true - moveElemsAttrsToGroup: true - moveGroupAttrsToElems: true - collapseGroups: true - convertPathData: true - convertTransform: true - removeEmptyAttrs: true - removeEmptyContainers: true - mergePaths: true - removeUnusedNS: true - sortAttrs: true - sortDefsChildren: true - removeTitle: true - removeDesc: true - removeDimensions: false - removeAttrs: true - removeAttributesBySelector: true - removeElementsByAttr: true - addClassesToSVGElement: true - removeStyleElement: true - removeScriptElement: true - addAttributesToSVGElement: true - removeOffCanvasPaths: true - reusePaths: true
The text was updated successfully, but these errors were encountered:
Sorry for the inconvenience, now .svgo.yml is obsoleted, and this plugin supports svgo.config.js, so please try this svgo.config.js way.
.svgo.yml
svgo.config.js
Sorry, something went wrong.
No branches or pull requests
I have
removeViewBox: false
in my .svgo.yml but this plugin still removes viewBox attribute.Full .svgo.yml in my workspace root directory:
The text was updated successfully, but these errors were encountered: