Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

vite-awesome-svg-loader

Imports SVGs as source code, base64 and data URI. Preserves stroke width, replaces colors with currentColor. Optimizes SVGs with SVGO. Creates SVG sprites.
https://github.com/matafokka/vite-awesome-svg-loader

Last synced: 3 days ago
JSON representation

  • Additional information

    • What are loading/import types (url, source, etc)?

    • Should I always import my images like shown in the examples? Can I simplify this?

      • ES modules - legacy](https://www.npmjs.com/package/@vitejs/plugin-legacy) as shown in the demos.
  • Usage

  • Integrations