Skip to content

Extend signature of getAssetTransformRules #1171

Closed
@ilteoood

Description

@ilteoood

Description

I'm using the getAssetTransformRules function in the following way:

Repack.getAssetTransformRules({svg: 'svgr'})

To reduce the amount of boilerplace, I would love to pass some options to @svgr/webpack like dimensions: false.

Suggested solution

Would you consider a contribution in order to extend the signature of getAssetTransformRules to allow an additional option name svgOptions, or something like that?

If not, I would like to contribute using the right approach that works for you.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:newNew issue, not reviewed by the team yet.type:featureProposal or idea for a new feature or enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions