Skip to content

Transformers

Valentin Degenne edited this page Jan 17, 2024 · 8 revisions

The plugin comes with 3 different transformers:

  • minifySymbolsLink(html: string): Takes in html and returns the html with the link [id="symbols"] reduced to only the icons you use in your code.

  • replaceSymbolsLink(html: string, replaceWith: string):
    Takes in html and replaces the link [id="symbols"] with the replaceWith string.

  • removeSymbolsLink(html: string): Returns html with link [id="symbols"] removed.

Clone this wiki locally