Skip to content

Ability to save icons in sprite file(s) #270

@belkaaa

Description

@belkaaa

What version of astro-icon are you using?

v1.1.5

Astro Info

In this case, it does not matter

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

Not a bug, a feature

What's the expected result?

It would be cool to make it possible to save icons in a sprite file *.svg during the build, and even better with the ability to save in several sprite files (for example, with a manual list for each or subfolders).

Pros:

  • Ability to cache such files
  • Reduced duplication in HTML code on different pages

Link to Minimal Reproducible Example

Not a bug, a feature

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