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

Add the option to use alongside file/url loader #6

Open
madeleineostoja opened this issue Jul 21, 2020 · 0 comments
Open

Add the option to use alongside file/url loader #6

madeleineostoja opened this issue Jul 21, 2020 · 0 comments

Comments

@madeleineostoja
Copy link

madeleineostoja commented Jul 21, 2020

It would be great if this plugin added an option to use the SVGR + url-loader pattern, so that you can have imports like so:

import starUrl, { ReactComponent as Star } from './star.svg'

Would just be a matter of adding an optional extra loader on this line, as a non-breaking change.

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

1 participant