Skip to content

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

@madeleineostoja

Description

@madeleineostoja

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions