Skip to content
This repository was archived by the owner on Mar 18, 2023. It is now read-only.
This repository was archived by the owner on Mar 18, 2023. It is now read-only.

Can't get prefixClassNames to work #179

Description

@jonascarlbaum

Hi,

I'm having issues where many (all) svg icons have the same class names, but different styles on them.
I'm using { prefixIds: true } to enable that plugin. By default it looks like that also would mean that it should have prefixClassNames: true.

I can't figure out how to make the prefixing of class names to work — do you have any suggestion on how to configure this?

Might it be onlyMatchedOnce in plugin that is making this not work?

How do I configure the prefixIds-plugin?
Reading your documentation it seems like adding plugins is more or less adding { pluginName: true } in svgoOptions.plugins-array!? Or should I replace true with a plugin-option-object?

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