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
Svgo has an option to pass the path to svg file to the optimize function https://github.com/svg/svgo#optimize
optimize
It allows the prefixIds plugin to automatically prefix ids with a file name https://github.com/svg/svgo/blob/master/plugins/prefixIds.js#L194
prefixIds
However it seems like in this plugin the path is not passed to svgo optimize https://github.com/airbnb/babel-plugin-inline-react-svg/blob/master/src/index.js#L74, and because of that, no path data is available for the prefixIds plugin.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Svgo has an option to pass the path to svg file to the
optimize
function https://github.com/svg/svgo#optimizeIt allows the
prefixIds
plugin to automatically prefix ids with a file name https://github.com/svg/svgo/blob/master/plugins/prefixIds.js#L194However it seems like in this plugin the path is not passed to svgo
optimize
https://github.com/airbnb/babel-plugin-inline-react-svg/blob/master/src/index.js#L74, and because of that, no path data is available for theprefixIds
plugin.The text was updated successfully, but these errors were encountered: