next-svgr icon indicating copy to clipboard operation
next-svgr copied to clipboard

Add the option to use alongside file/url loader

Open madeleineostoja opened this issue 5 years ago • 0 comments

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.

madeleineostoja avatar Jul 21 '20 03:07 madeleineostoja