Skip to content
New issue

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

is it possible add prefix to file names? #72

Closed
ihaveaproblem opened this issue Mar 29, 2018 · 2 comments
Closed

is it possible add prefix to file names? #72

ihaveaproblem opened this issue Mar 29, 2018 · 2 comments

Comments

@ihaveaproblem
Copy link

ihaveaproblem commented Mar 29, 2018

I want to add the "menu" prefix to the name of the "logo.svg" file.
so that the SVGs belonging to a particular component can be simply grouped. like MenuLogo.js

@gregberge
Copy link
Owner

This is not the responsibility of this library. I suggest you to create a script that rename SVG before running svgr.

@advename
Copy link

With the current Svg component prefix from #190, this will end up in component names of SvgSvgSmiley

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants